filenames
Returns an array containing the absolute paths (as NSString objects) of the selected files and directories.
Declaration
- (NSArray *) filenames;Return Value
The array of filenames.
Discussion
If multiple selections aren’t allowed, the array contains a single name. The filenames method is preferable over NSSavePanel’s filename to get the name or names of files and directories that the user has selected.