Instance Method

application:openFiles:

Tells the delegate to open multiple files.

Declaration

- (void)application:(NSApplication *)sender openFiles:(NSArray<NSString *> *)filenames;

Parameters

sender

The application object associated with the delegate.

filenames

An array of NSString objects containing the names of the files to open..

Discussion

Identical to application:openFile: except that the receiver opens multiple files corresponding to the file names in the filenames array. Delegates should invoke the replyToOpenOrPrint: method upon success or failure, or when the user cancels the operation.

See Also

Opening Files

- application:openFile:

Tells the delegate to open a single file.

- application:openFileWithoutUI:

Tells the delegate to open a file programmatically.

- application:openTempFile:

Tells the delegate to open a temporary file.

- applicationOpenUntitledFile:

Tells the delegate to open an untitled file.

- applicationShouldOpenUntitledFile:

Invoked immediately before opening an untitled file.