FROM : Shripada Hebbar
DATE : Mon Jan 07 06:49:26 2008
>
>
> 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 ?
>
Use ' fileExistsAtPath' API of NSFileManager. I presume that by
'valid' you mean
that the file exists at the said path.
Regards
Shripada
DATE : Mon Jan 07 06:49:26 2008
>
>
> 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 ?
>
Use ' fileExistsAtPath' API of NSFileManager. I presume that by
'valid' you mean
that the file exists at the said path.
Regards
Shripada
| Related mails | Author | Date |
|---|---|---|
| Eric PETIT | Jan 6, 20:55 | |
| Sherm Pendley | Jan 6, 21:03 | |
| I. Savant | Jan 6, 21:08 | |
| Gregory Weston | Jan 6, 23:27 | |
| Shripada Hebbar | Jan 7, 06:49 |






Cocoa mail archive

