views:

118

answers:

1

How do I set an action for when a user double clicks an NSCollectionViewItem. NSTableView, for example, has the setDoubleAction method. Is there something similar for NSCollectionView?

Thanks

+2  A: 

You'd probably want to handle this in your NSCollectionViewItem, rather than the NSCollectionView itself (to work off your NSTableView analogy).

Ben Gottlieb
Thanks, I ended up just subclassing the prototype NSView of the NSCollectionView and adding a mouseDown handler.
macatomy