• 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: Bindings, "behind the scenes" theory... (solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings, "behind the scenes" theory... (solved)


  • Subject: Re: Bindings, "behind the scenes" theory... (solved)
  • From: Allan Odgaard <email@hidden>
  • Date: Tue, 24 Feb 2004 23:34:38 +0100

On 24. Feb 2004, at 10:50, Allan Odgaard wrote:

I have been curious to how Apple actually handle the automatic sending of notifications to observers in their binding system (since I would like to experiment with similar features in a project of mine) [...]

If anyone is interested, I spent some time with GDB and the new class does indeed contain all the methods of the old class (as a category), where it change the implementation pointer for the observed methods (to call NSSetValueAndNotify).

The reason I did not find the methods was that I was under the impression that the methodLists field was not an array unless CLS_METHOD_ARRAY was set for the class (as documented), but it seems to always be an array (and the second entry was the list with the old methods).
--
Private Mails To Allan At Top-House Dot DK
http://www.diku.dk/hjemmesider/studerende/duff/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Bindings, "behind the scenes" theory... (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Unwanted clip of rotated text
  • Next by Date: Re: NSArrayController and bindings
  • Previous by thread: Bindings, "behind the scenes" theory...
  • Next by thread: Alternating row colors in a table view?
  • Index(es):
    • Date
    • Thread