File Types

These constants specify different types of files returned by the getInfoForFile:application:type: method.

Topics

Constants

NSPlainFileType

Plain (untyped) file.

Deprecated
NSDirectoryFileType

Directory.

Deprecated
NSApplicationFileType

Cocoa app.

Deprecated
NSFilesystemFileType

File-system mount point.

Deprecated
NSShellCommandFileType

Executable shell command.

Deprecated

See Also

Manipulating Files

- duplicateURLs:completionHandler:

Duplicates the specified URLS asynchronously in the same manner as the Finder.

- recycleURLs:completionHandler:

Moves the specified URLs to the trash in the same manner as the Finder.

- performFileOperation:source:destination:files:tag:

Performs a file operation on a set of files in a particular directory.

Deprecated
- activateFileViewerSelectingURLs:

Activates the Finder, and opens one or more windows selecting the specified files.

- selectFile:inFileViewerRootedAtPath:

Selects the file specified by fullPath.

NSWorkspaceFileOperationName

These constants specify different types of file operations used by performFileOperation:source:destination:files:tag:.

Deprecated