Skip navigation.
 
mlRe: Validity of a path
FROM : Sherm Pendley
DATE : Sun Jan 06 21:03:57 2008

On Jan 6, 2008 2:55 PM, Eric PETIT <<email_removed>> wrote:

> The path of a file is initialized in a NSString.
> I want to know if this path is valid.
> I can try to open the file and test the return value to test the
> validity of this path but is there another method to know if this
> path is valid ?



NSFileManager has methods to check for various definitions of "valid":
-fileExistsAtPath:, isReadableFileAtPath:, isWritableFileAtPath:, etc.

sherm--

Related mailsAuthorDate
mlValidity of a path Eric PETIT Jan 6, 20:55
mlRe: Validity of a path Sherm Pendley Jan 6, 21:03
mlRe: Validity of a path I. Savant Jan 6, 21:08
mlRe: Validity of a path Gregory Weston Jan 6, 23:27
mlRe:validity of a path Shripada Hebbar Jan 7, 06:49