Post

Replies

Boosts

Views

Activity

UICollectionView Cell Structure Animation Affects Multiple Cells
Hi There, As in Title, when animating a cell structure (simply moving a UIImageView up 50 points) in one cell it affects some other cells too which are offscreen, scrolling to other cells reveals the same "quantum entanglement" if you like :-) I am aware that for a number of reasons the cell instance is reused for other index items, and I can see this in the debugging, the affected cells all have the same cell reference. customCell: 0x7ff2c670b560 (when last run). I appreciate this is by design that the cells operate this way. My question is simple (I hope) - Is there any way to decouple an animation on a cell that is visible on screen from a cell out of view? Is there an "Apple" way to do this? spent days searching on forums so far but no cigarillo! Thanks in advance for any input.
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
1.2k
Mar ’21