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                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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

Reply via email to