You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Expose `forceLayout` in `EpoxySwiftUIHostingView` for updating the hosting view size from outside.
11
+
9
12
### Changed
10
13
-`AnyItemModel` now implements the `ErasedContentProviding` protocol.
11
14
- Updated `ErasedContentProviding` protocol to use its type name instead of `Self` in the keys of its `EpoxyModelProperty` properties `contentProperty` and `isContentEqualProperty `.
// In this method `setNeedsLayout` and `layoutIfNeeded` are called. We need to layout the view to ensure it gets resized properly when cells are re-used
202
+
// In this method `invalidateIntrinsicContentSize` is called. This is required to ensure that views with new content are properly resized.
203
+
forceLayout()
207
204
}
208
205
209
206
publicoverridefunc layoutMarginsDidChange(){
@@ -234,9 +231,7 @@ public final class EpoxySwiftUIHostingView<RootView: View>: UIView, EpoxyableVie
234
231
// to be more common with top and bottom bars, since they can be laid out early during view
235
232
// controller transitions. If this works well, we may make this the default behavior for all
0 commit comments