Instance Method


Returns the path of the directory or file that a symbolic link at a given path refers to.


- (NSString *)pathContentOfSymbolicLinkAtPath:(NSString *)path;



The path of a symbolic link.

Return Value

The path of the directory or file to which the symbolic link path refers, or nil upon failure. If the symbolic link is specified as a relative path, that relative path is returned.


Because this method does not return error information, it has been deprecated as of OS X v10.5. Use destinationOfSymbolicLinkAtPath:error: instead.

See Also

Related Symbols

- destinationOfSymbolicLinkAtPath:error:

Returns the path of the item pointed to by a symbolic link.

- createSymbolicLinkAtPath:withDestinationPath:error:

Creates a symbolic link that points to the specified destination.