• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Animating UICollectionViewCell selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Animating UICollectionViewCell selection (From: Rick Mann <email@hidden>)

  • Prev by Date: Animating UICollectionViewCell selection
  • Next by Date: Re: Animating UICollectionViewCell selection
  • Previous by thread: Animating UICollectionViewCell selection
  • Next by thread: Re: Animating UICollectionViewCell selection
  • Index(es):
    • Date
    • Thread