I have a UICollectionView with a bunch of cells, like ya do. Our selection 
marking doesn't really work for the tap that segues into the detail view. We 
only use the selection marking when in edit mode (e.g. deleting a bunch of 
items).

I can't figure out how to tell the collection view to not mark things as 
selected but still allow them to be tapped and segued-from.

I tried

        func collectionView(_ collectionView: UICollectionView, 
shouldHighlightItemAtIndexPath indexPath: NSIndexPath) -> Bool

But that prevents the segue if I return false (incorrectly, IMHO).

I can probably do it by iterating all the cells and changing their mode, but 
this seems inelegant.

Is there another way?

-- 
Rick Mann
[email protected]



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to