Re: file path question
Re: file path question
- Subject: Re: file path question
- From: <email@hidden>
- Date: Sun, 4 Apr 2010 03:10:36 -0700
- Acceptlanguage: en-US
- Thread-topic: file path question
Hi,
To check the file existence use
{
NSFileManager *fileManager = [NSFileManager defaultManager]
BOOL fileexist = [ fileManager fileExistsAtPath:YOURPATH];
}
- (BOOL)fileExistsAtPath:(NSString *)path
*pathForResource: ofType: inDirectory:* does not load files outside bundle
Thanks
Rajendran P
On 04/04/10 3:31 PM, "Ariel Feinerman" <email@hidden> wrote:
Hi,
Can we load resource by -*pathForRecourse: ofType: inDirectory:* outside the
bundle folder? Second, there is absolute path represented by NSString, is
the way to check whether file exist?
--
best regards
Ariel
_______________________________________________
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
_______________________________________________
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