On May 2, 2013, at 10:35 AM, Matt Neuburg <m...@tidbits.com> wrote:

> Well obviously if you want to detect double taps on a collection view *cell*, 
> it might be simplest to attach the gesture recognizer to the collection view 
> *cell* (not the collection view itself). m.

From the UICollectionView Programming Guide page 34:

You should always attach your gesture recognizers to the collection view itself 
and not to a specific cell or view. The UICollectionView class is a descendant 
of UIScrollView. Attaching your gesture recognizers to the collection view is 
less likely to interfere with the other gestures that must be tracked. In 
addition, because the collection view has access to your data source and your 
layout object, you still have access to all the information you need to 
manipulate cells and views appropriately.



I aint toopid and I kin reed  … 


-koko
_______________________________________________

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