Instance Method panel: should Enable URL:
delegates, asks the delegate whether the specified URL should be enabled in the panel. This method is not called for NSOpen Panel delegates; all URLs are always disabled. NSSave Panel Declaration - ( ) BOOL panel:( ) id sender shouldEnableURL:( ) * NSURL url;
The panel asking whether the URL should be enabled.
to allow the URL to be enabled in the panel; otherwise,
Implementations of this method should be fast to avoid stalling the user interface. Use
instead if processing will take a long time. panel: validate URL: error: See Also Running Panels - panel: validate URL: error:
delegates, asks the delegate for file URL validation when the user chooses the Save button. For NSSave Panel delegates, asks the delegate for file URL validation once for each selected filename (or directory) when the user chooses the Open button. NSOpen Panel - panel: did Change To Directory URL:
Informs the delegate that the user changed the selected directory to the directory located at the specified URL. The URL may be
if the current URL can’t be represented by an
nil object. NSURL - panel: will Expand:
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.