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 in setSelected: being 
called in animation block.

Luke

On Jun 23, 2014, at 4:00 PM, Rick Mann <rm...@latencyzero.com> wrote:

> 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 process, what's the best 
> way to solve this?
> 
> TIA,
> 
> -- 
> Rick
> 
> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com
> 
> This email sent to luket...@apple.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to