Returns a Boolean value that indicates whether a file or directory exists at a specified path.
Original signature is '- (BOOL)fileExistsAtPath:(NSString *)path'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- path (NSString)
- The path of a file or directory. If path begins with a tilde (~), it must first be expanded with stringByExpandingTildeInPath, or this method returns NO.
Return Value
YES if a file specified in path exists, otherwise NO. If the final element in path specifies a symbolic link, this method traverses the link and returns YES or NO based on the existence of the file at the link destination.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)