Presents a Save panel as a sheet with a specified path and, optionally, a specified file in that path.
- macOS 10.0–10.6Deprecated
Directory whose files the panel displays. When
nil, the directory is the same directory used in the previous invocation of the panel; this is probably the best choice for most situations.
Specifies a particular file in
paththat is selected when the Save panel is presented to a user. When
nil, no file is initially selected.
nil, the Save panel slides down as a sheet running as a document modal window in
nil, the behavior defaults to a standalone modal window.
This is not the same as a delegate assigned to the panel. This delegate is temporary and the relationship only lasts until the panel is dismissed. The
NSSaveobject has a weak reference to the modal delegate.
Message sent to
modalafter the modal session has ended, but before dismissing the Save panel.
didmay dismiss the Save panel itself; otherwise, it is dismissed on return from the method. The corresponding method should have the following signature:
The value passed as
Context information passed to