Re: Toll-free bridge type at runtime
Re: Toll-free bridge type at runtime
- Subject: Re: Toll-free bridge type at runtime
- From: Marcel Weiher <email@hidden>
- Date: Fri, 3 Apr 2009 09:15:08 -0700
On Apr 3, 2009, at 9:06 , Michael Ash wrote:
Of *course* I mean NSArray itself. What did you *think* I meant?
Whenever I say NSArray I mean, hello, NSArray.
That's what I thought, thanks for clarifying! I was getting worried
there for a bit...
And it is *not* pointless. Every instance of a subclass of NSArray is
also an instance of NSArray. This is *basic* object-oriented
programming concepts here.
Yes, that was exactly what I was saying:
If you by NSArray you mean "every instance of a subclass of NSArray",
then NSArray = CFArray is simply false, and it is trivial to
distinguish NSArrays from CFArrays in the general case both at compile
time and at runtime, as the code I posted here shows conclusively.
Cheers,
Marcel
_______________________________________________
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