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 suppose that's true. But it sure looks nice when it animates in the selection 
(provided it's sufficiently fast, like 0.1 s).

> 
> Luke
> 
> On Jun 23, 2014, at 4:09 PM, Rick Mann <rm...@latencyzero.com> wrote:
> 
>> The problem is, I want selection from touch to be animated. Why wouldn't it 
>> be?
>> 
>> Sent from my iPhone
>> 
>>> On Jun 23, 2014, at 16:07, Luke Hiesterman <luket...@apple.com> wrote:
>>> 
>>> 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
>>> 
> 


-- 
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/archive%40mail-archive.com

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

Reply via email to