• 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: With What does Apple Swizzle the IsA-pointer in KVO?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: With What does Apple Swizzle the IsA-pointer in KVO?


  • Subject: Re: With What does Apple Swizzle the IsA-pointer in KVO?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Fri, 23 Nov 2007 14:56:30 +0100


Le 23 nov. 07 à 14:42, Philip Mötteli a écrit :

Hi,


Apple says, that it uses IsA-swizzling as the underlying technology to implement KVO.
What are/is the class(es), which replace the original class of the observed object? Is it an NSProxy subclass? Different NSProxy subclasses, depending on the observed object? Is it a direct subclass of the observed object?



Thanks Phil

With 10.4, I bet on dynamically generated class that are subclass of NSObject (Foo is swizzled with something like NSKVONotifying_Foo and the debugger says it is a direct subclass of NSObject). But in any case, you should not rely on this, because it is an implementation detail and it may change.


Jean-Daniel
_______________________________________________

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


References: 
 >With What does Apple Swizzle the IsA-pointer in KVO? (From: Philip Mötteli <email@hidden>)

  • Prev by Date: With What does Apple Swizzle the IsA-pointer in KVO?
  • Next by Date: Re: With What does Apple Swizzle the IsA-pointer in KVO?
  • Previous by thread: With What does Apple Swizzle the IsA-pointer in KVO?
  • Next by thread: Re: With What does Apple Swizzle the IsA-pointer in KVO?
  • Index(es):
    • Date
    • Thread