On May 10, 2014, at 1:27 PM, Charles Srstka <cocoa...@charlessoft.com> wrote: > >> On May 10, 2014, at 2:25 PM, Quincey Morris >> <quinceymor...@rivergatesoftware.com> wrote: >> >> -[NSFileManager fileExistsAtPath:] is pretty much legacy API nowadays (and >> it’s significant that there’s no URL-based version of it). > > Sure there is; -[NSURL checkResourceIsReachableAndReturnError:].
True enough. However, from the documentation for that method: > 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. I think the word “efficient” ought to be replaced with “correct” in that sentence. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com