Re: KVO and relationships
Re: KVO and relationships
- Subject: Re: KVO and relationships
- From: David Aames <email@hidden>
- Date: Wed, 22 Nov 2006 20:31:07 +0000
On 22 Nov 2006, at 10:05, Scott Stevenson wrote:
On Nov 21, 2006, at 4:41 AM, David Aames wrote:
[snip]
I guess there's no way to know for sure without looking at the
source for the class. The behavior isn't enforced at the language
level, so each class is free to implement the KVB and KVO methods
in any way which makes sense.
Theoretically, it would be a nicer abstraction if the text field
didn't try to circumvent the controller. In any case, it's an
implementation detail which you probably shouldn't rely on.
Firstly thanks for the reply. As I said earlier my goal was to
achieve a greater understanding of how key technologies play their
role in bindings. After further investigation it seems that KVO uses
a private class (NSKeyValueObservationForwarder to be specific) so I
thought I would stop there and not try to delve into more detail
since if the class is private then it probably means that we
shouldn't poke around it.
Many thanks,
David
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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