Re: How to check if file exists?
Re: How to check if file exists?
- Subject: Re: How to check if file exists?
- From: koko <email@hidden>
- Date: Sat, 10 May 2014 15:36:44 -0600
Cordially,
David Blanton
email@hidden
On May 10, 2014, at 2:27 PM, Charles Srstka <email@hidden> wrote:
> Sure there is; -[NSURL checkResourceIsReachableAndReturnError:].
From checkResourceIsReachableAndReturnError:
"If your app must perform operations on the file, such as opening it or copying resource properties, it is more efficient to attempt the operation and handle any failure that may occur."
_______________________________________________
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