Re:validity of a path
Re:validity of a path
- Subject: Re:validity of a path
- From: Shripada Hebbar <email@hidden>
- Date: Mon, 7 Jan 2008 11:19:26 +0530
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden