Animating UICollectionViewCell selection

2014-06-23 Thread Rick Mann
Why is there no -[UICollectionViewCell setSelected:animated]? UITableViewCell has this. But the real problem seems to be that when iOS is handling UICollectionView cell selection, it doesn't set selected on a cell inside an animation block. Since I don't to participate in the cell-selection

Re: Animating UICollectionViewCell selection

2014-06-23 Thread Luke Hiesterman
Collection view will call setSelected: on the cell inside an animation block if the selection is an animated one. A selection from a touch is not animated, but a programmatic selection which does [collectionView selectItemAtIndexPath:path animated:YES scrollPosition:scrollPosition] will result

Re: Animating UICollectionViewCell selection

2014-06-23 Thread Rick Mann
On Jun 23, 2014, at 16:17 , Luke Hiesterman luket...@apple.com wrote: Because the touch is an instantaneous event, so the selection should show immediately. Similarly, you’ll notice when you select a table cell with touch, the selection does not animate in - it appears immediately. I