| 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
SwiftUIMeasurementContainerfor calculating the ideal height of aUIViewfor wrapping for SwiftUI usage. - Added
MeasuringUIViewRepresentableas a convenience API for measuring aUIViewwithin aUIViewRepresentableusing an enclosingSwiftUIMeasurementContainer. - Added a method to
CollectionViewReorderingDelegateto check the reordering destination is expected. - Added the ability to pass a
CollectionViewConfigurationto theCollectionViewControllerinitializers. - Added additional sizing behaviors to
SwiftUIMeasurementContainerfor sizingUIViews hosted in a SwiftUIView. - Added a static
swiftUIView(…)method toUIViewfor hosting UIKit views that aren'tEpoxyableViews while still leveraging the layout helpers. - Added support for calling
configure { _ in }on the SwiftUIViewresulting from aswiftUIView(…)invocation to perform additional configuration of theUIViewinstance. - Added
LayoutGroupUpdateAnimationfor customizingGroupanimated updates. - Added support for
WillDisplaycallbacks to be added to type-erasedAnyBarModeltypes.
Fixed
- Fixed sizing of reused
EpoxySwiftUIHostingControllers on iOS 15.2+. - Fixed crash in
ScrollToItemHelpercaused bypreferredFrameRateRangeson devices running iOS 15.0 (this issue is not present in devices on 15.1+) - Fixed an ambiguous layout issue when using
LayoutSpacerwithout afixedWidthorfixedHeight. - Gracefully support cases where a
SwiftUIMeasurementContainerwith anintrinsicSizeSwiftUIMeasurementContainerStrategyhas 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.assertionFailureandEpoxyLogger.shared.assertwould unexpectedly crash in release builds.
Changed
- Updated name of
SpacertoLayoutSpacerto avoid name conflict with SwiftUI'sSpacer - Updated to have Swift 5.4 as the minimum supported Swift version (previously Swift 5.3).
- Updated
HGroupViewandVGroupViewto haveinsetsLayoutMarginsFromSafeArea = falseby 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.