allowedFileTypes
An array of filename extensions or UTIs that represent the allowed file types for the panel.
- beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:
Presents a Save panel as a sheet with a specified path and, optionally, a specified file in that path.
- runModalForDirectory:file:
Initializes the panel to the directory and file specified, if any, then displays it and begins its modal event loop.
- panel:compareFilename:with:caseSensitive:
Controls the ordering of files presented by the
NSSavePanel
object specified.- panel:shouldShowFilename:
Gives the delegate the opportunity to filter items that it doesn’t want the user to choose.
- panel:directoryDidChange:
Tells the delegate that the user has changed the selected directory in the
NSSavePanel
object specified.- directory
Returns the absolute pathname of the directory currently shown in the panel.