Re: File by index?
Re: File by index?
- Subject: Re: File by index?
- From: Jens Alfke <email@hidden>
- Date: Wed, 17 Apr 2013 15:04:49 -0700
On Apr 17, 2013, at 1:25 PM, Steve Mills <email@hidden> wrote:
> Sheesh. So Apple has been telling us for years to "go Cocoa!" and "go 64-bit!", then they go and give us half-baked systems that are nowhere near close to being replacements for what we had before. Seems like Apple should take their own advice.
The deprecated part of Carbon is the High-Level Toolbox; that's what Apple referred to by telling developers to switch to Cocoa. The CarbonCore APIs are a supported part of the system and there are times when it makes sense to use them, for edge cases or for performance. (Finding a file at a random index in a huge directory is kind of an edge case, you have to admit.)
Similarly, NSURLConnection doesn't do everything you can do with POSIX APIs (like UDP or Unix-domain sockets.) CoreAnimation doesn't replace OpenGL. Et cetera.
NSFileManager has been steadily gaining capabilities over the years. I remember having to dive into <Files.h> a lot when writing for 10.2 or 10.3, but I haven't had to look at it in a long time.
—Jens
_______________________________________________
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