On Thu, Sep 4, 2008 at 10:41 AM, Negm-Awad Amin <[EMAIL PROTECTED]> wrote: > > Am Sa,30.08.2008 um 05:22 schrieb Michael Ash: > >> Ultimately the most important thing to understand about toll-free >> bridging (the link between CF and NS data types) is that you don't >> have to convert anything. You *can't* convert anything. Because they >> aren't two different things. An NSArray *is* a CFArray. An >> NSMutableArray is a CFMutableArray. They are just two different names >> for the same type. > > I'm not sure, whether this is completly correct. I would prefer to say, that > are two different names of two different types, which are interchangeable.
No, they are the same type. > But AFAIK in some (rare) cases, CF and NS behaves differently. Meaningless. You can subclass NSArray and get whatever behavior you want. The result is still an NSArray (and still a CFArray). Mike _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]