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
{{ message }}
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
I want to improve performance with my ASCollectionView, interactive percentage based transition driven by pinch gesture.
First approach was to expose a new method relayoutItems in ASCollectionView which just calls [_dataController relayoutAllNodes]; ..
This didn’t (and we knew it wouldn’t) perform very well, but it was a first attempt in allowing a transition between layout classes. It worked, but not smoothly.
Next attempt was in my UICollectionViewTransitionLayout in invalidateLayout get only visibleNodes and apply ASSizeRange with a calculated itemSize based on transitionProgress and call node.measureWithSizeRange(sizeRange).size and set the frame
Again, worked but pretty laggy. So onward to the question:
Would it make sense to explore using the Transition API to size the nodes (presumably visible only) with something like