Re: Toll-free bridge type at runtime
Re: Toll-free bridge type at runtime
- Subject: Re: Toll-free bridge type at runtime
- From: Michael Ash <email@hidden>
- Date: Fri, 3 Apr 2009 12:06:27 -0400
On Fri, Apr 3, 2009 at 2:08 AM, Marcel Weiher <email@hidden> wrote:
>> What I am saying above
>> is that it is possible to distinguish between a custom NSArray
>> subclass and a subclass provided by the system. These are not the same
>> thing.
>
> How are they not the same thing? If you say "NSArray", what do you mean?
> Do you mean the NSArray class itself? In that case, this is all pointless,
> because you are hardly going to get actual NSArray instances, it being an
> abstract superclass and all.
Of *course* I mean NSArray itself. What did you *think* I meant?
Whenever I say NSArray I mean, hello, NSArray.
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.
Mike
_______________________________________________
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