Instance Method create Symbolic Link At Path: path Content:
Creates a symbolic link identified by a given path that refers to a given location.
iOS 2.0–2.0 Deprecated macOS 10.0–10.5 Deprecated Mac Catalyst 13.0–13.0 Deprecated tvOS 9.0–9.0 Deprecated watchOS 2.0–2.0 Deprecated Declaration - ( ) BOOL createSymbolicLinkAtPath:( ) * NSString path pathContent:( ) * NSString otherpath;
The path for a symbolic link.
The path to which
path Return Value
if the operation is successful, otherwise
if a file, directory, or symbolic link identical to
Creates a symbolic link identified by
that refers to the location
in the file system.
other Path Special Considerations See Also Deprecated Methods - copy Path: to Path: handler:
Copies the directory or file specified in a given path to a different location in the file system identified by another path.
Deprecated - move Path: to Path: handler:
Moves the directory or file specified by a given path to a different location in the file system identified by another path.
Deprecated - remove File At Path: handler:
Deletes the file, link, or directory (including, recursively, all subdirectories, files, and links in the directory) identified by a given path.
Deprecated - file System Attributes At Path:
Returns a dictionary that describes the attributes of the mounted file system on which a given path resides.
Deprecated - file Manager: should Proceed After Error:
object sends this message to its handler for each error it encounters when copying, moving, removing, or linking files or directories.
NSFile Manager Deprecated - file Manager: will Process Path:
object sends this message to a handler immediately before attempting to move, copy, rename, or delete, or before attempting to link to a given path.
NSFile Manager Deprecated
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software