-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
I’m noticing a significant number of zombie objects being generated when using AlignedCollectionViewFlowLayout.
My UICollectionView, its cells, and the owning UIViewController are all being deallocated correctly. It seems the issue lies with copying the layout attributes that is causing these zombie objects.
This issue occurs even with a relatively small dataset (50 items), navigating back and forth for about 10 times:
Stack traces lead me to: func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? and func layoutAttributesForElements(in rect: CGRect).
Metadata
Metadata
Assignees
Labels
No labels