Re: KVO and isKindOfClass:
Re: KVO and isKindOfClass:
- Subject: Re: KVO and isKindOfClass:
- From: Guy English <email@hidden>
- Date: Thu, 17 Mar 2005 17:34:57 -0500
Greg Titus <email@hidden> wrote:
> I understand the use for swizzling the isa pointer. What I don't
> understand is why NSNotifying_MyClass is _not_ a subclass of MyClass,
> which is what is breaking Tim's code. What's the reason for that?
I can't check right now but is it the case that the NSNotifying
classes are much more light weight than the classes they cover? A
subclass would need to allocate sizeof superclass + extra NSNotifying
stuff so maybe it's a memory footprint tradeoff. Something like
isProxy and a call to get at the real isa pointer would be nice
though.
Guy
_______________________________________________
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