I have a NSButton(provided delete item action) in the NSCollectionViewItem, the argument is set successfully the binding actions is responded and I also got the representedObject. But the target I m binding is the file's owner
here is the method i got the representedObject:
- (void)removeAction:(id)object{
// [_arrayController removeObject:object];
}
My problem is how to get the "_arrayController
" instance or change the binding target to the ViewController
that own the arrayController
property?