Instance Method

panel:didChangeToDirectoryURL:

Informs the delegate that the user changed the selected directory to the directory located at the specified URL. The URL may be nil if the current URL can’t be represented by an NSURL object.

Declaration

- (void)panel:(id)sender didChangeToDirectoryURL:(NSURL *)url;

Parameters

sender

The panel whose directory changed.

url

The URL of the new directory, or nil if it can’t be represented by an NSURL object.

See Also

Running Panels

- panel:shouldEnableURL:

For NSOpenPanel delegates, asks the delegate whether the specified URL should be enabled in the panel. This method is not called for NSSavePanel delegates; all URLs are always disabled.

- panel:validateURL:error:

For NSSavePanel delegates, asks the delegate for file URL validation when the user chooses the Save button. For NSOpenPanel delegates, asks the delegate for file URL validation once for each selected filename (or directory) when the user chooses the Open button.

- panel:userEnteredFilename:confirmed:

Tells the delegate that the user confirmed a filename choice by clicking Save in a Save panel.

- panel:willExpand:

Tells the delegate that the Save panel is about to expand or collapse because the user clicked the disclosure triangle that displays or hides the file browser.

- panelSelectionDidChange:

Tells the delegate that the user changed the selection in the specified Save panel.