Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.8.0.tar.gz | 2022-07-28 | 5.9 MB | |
0.8.0.zip | 2022-07-28 | 6.1 MB | |
README.md | 2022-07-28 | 2.7 kB | |
Totals: 3 Items | 12.0 MB | 0 |
Added
- Added
SwiftUIMeasurementContainer
for calculating the ideal height of aUIView
for wrapping for SwiftUI usage. - Added
MeasuringUIViewRepresentable
as a convenience API for measuring aUIView
within aUIViewRepresentable
using an enclosingSwiftUIMeasurementContainer
. - Added a method to
CollectionViewReorderingDelegate
to check the reordering destination is expected. - Added the ability to pass a
CollectionViewConfiguration
to theCollectionViewController
initializers. - Added additional sizing behaviors to
SwiftUIMeasurementContainer
for sizingUIView
s hosted in a SwiftUIView
. - Added a static
swiftUIView(…)
method toUIView
for hosting UIKit views that aren'tEpoxyableView
s while still leveraging the layout helpers. - Added support for calling
configure { _ in }
on the SwiftUIView
resulting from aswiftUIView(…)
invocation to perform additional configuration of theUIView
instance. - Added
LayoutGroupUpdateAnimation
for customizingGroup
animated updates. - Added support for
WillDisplay
callbacks to be added to type-erasedAnyBarModel
types.
Fixed
- Fixed sizing of reused
EpoxySwiftUIHostingController
s on iOS 15.2+. - Fixed crash in
ScrollToItemHelper
caused bypreferredFrameRateRanges
on devices running iOS 15.0 (this issue is not present in devices on 15.1+) - Fixed an ambiguous layout issue when using
LayoutSpacer
without afixedWidth
orfixedHeight
. - Gracefully support cases where a
SwiftUIMeasurementContainer
with anintrinsicSize
SwiftUIMeasurementContainerStrategy
has an intrinsic size that exceeds the proposed size by compressing rather than overflowing, which could result in broken layouts. - Fixed intrinsic size invalidation triggered by a SwiftUI view from within a collection view cell by invalidating the enclosing collection view layout.
- Fixed an issue where
EpoxyLogger.shared.assertionFailure
andEpoxyLogger.shared.assert
would unexpectedly crash in release builds.
Changed
- Updated name of
Spacer
toLayoutSpacer
to avoid name conflict with SwiftUI'sSpacer
- Updated to have Swift 5.4 as the minimum supported Swift version (previously Swift 5.3).
- Updated
HGroupView
andVGroupView
to haveinsetsLayoutMarginsFromSafeArea = false
by default - Gated an old autoresizing-mask-related bug workaround to only run on iOS versions 13 and below
- The
swiftUIView(…)
methods now default to an automatic sizing behavior that makes a best effort at sizing the view based on heuristics, rather than defaulting to intrinsic height and proposed width.