Re: Converting C strings into NSStrings (and vice versa)
Re: Converting C strings into NSStrings (and vice versa)
- Subject: Re: Converting C strings into NSStrings (and vice versa)
- From: Ondra Cada <email@hidden>
- Date: Fri, 28 Apr 2006 15:30:08 +0200
Paolo,
On 28.4.2006, at 15:04, Ondra Cada wrote:
That's since Xcode supports *a lot* of APIs beside Cocoa.
perhaps worth adding that Apple (and, with some APIs, other as well)
programmers did a great job allowing us to mix them very successfully
in one project, in many cases even in one source. Especially nice
point is that very often Cocoa objects and Core Foundation objects
are, effectively, the same (though it has some ugly consequences,
like that NSArray and NSMutableArray cannot be efficiently
distinguished runtime).
Still, you have to mix the APIs in a controlled manner. Not all CF/
Cocoa objects are equivalent. And especially, there is a
comparatively small number of cases (though definitely there are
some!), in which you can safely use a service of one API along with a
constant of another one.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden