I have an NSCollectionView with NSArrayController bound to NSCollectionViewItem.
The Item itself contains button (the whole space of Item).
When the button clicked I'm trying to determine on which item button was clicked, but can't:
[[mineArrayController selection] valueForKey:@"name"];
always returns first item's name.
What can I do to determine which item's button was clicked?