• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: KVO and isKindOfClass:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >KVO and isKindOfClass: (From: "Timothy J.Wood" <email@hidden>)
 >Re: KVO and isKindOfClass: (From: mmalcolm crawford <email@hidden>)
 >Re: KVO and isKindOfClass: (From: Greg Titus <email@hidden>)

  • Prev by Date: Re: Creating an admin account
  • Next by Date: Re: Self-scheduling threading
  • Previous by thread: Re: KVO and isKindOfClass:
  • Next by thread: Re: KVO and isKindOfClass:
  • Index(es):
    • Date
    • Thread