Re: Animating UICollectionViewCell selection
Re: Animating UICollectionViewCell selection
- Subject: Re: Animating UICollectionViewCell selection
- From: Luke Hiesterman <email@hidden>
- Date: Mon, 23 Jun 2014 23:07:57 +0000
- Thread-topic: Animating UICollectionViewCell selection
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 <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden