Re: Bindings, "behind the scenes" theory... (solved)
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.