Simple question: I want to handle the action for cancel button pressed in my NSSavePanel. I'm using the panel with the delegate class:
NSSavePanel *save = [NSSavePanel savePanel];
[save setDelegate:self];
[save runModal];
I saw on the documentation this:
ok: This action method is invoked when the user clicks the panel’s OK button.
- (IBAction)ok:(id)sender
but I don't know how to say to the panel to handle that method...
Thanks.