Instance Method

ok:

This action method is invoked when the user clicks the panel’s OK button.

Declaration

- (IBAction)ok:(id)sender;

Parameters

sender

The NSSavePanel object whose OK button was clicked.

Discussion

Sandboxed apps cannot programmatically invoke the OK button.

See Also

Handling Actions

- cancel:

This action method is invoked when the user clicks the panel’s Cancel button.