Re: NSFileManager - Incompatible persistent store
Re: NSFileManager - Incompatible persistent store
- Subject: Re: NSFileManager - Incompatible persistent store
- From: Sean McBride <email@hidden>
- Date: Thu, 22 Nov 2012 17:28:52 -0500
- Organization: Rogue Research Inc.
On Fri, 23 Nov 2012 09:14:51 +1100, Shane Stanley said:
>> Most path-based and non-NSError-returning file APIs are deprecated
>
>Is that documented anywhere?
Not sure if it's called out in black and white, but you just have to browse the headers to see that all the newer file-related APIs use NSURL and NSError, and all the old ones use NSString paths and/or have no NSError return value.
Just consider the starting point of file access, NSOpenPanel: the 'filenames' method is replaced by 'URLs'. The rest kinda follows.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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