• 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 relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >KVO and relationships (From: "David Aames" <email@hidden>)
 >Re: KVO and relationships (From: Scott Stevenson <email@hidden>)
 >Re: KVO and relationships (From: "David Aames" <email@hidden>)
 >Re: KVO and relationships (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Re: Replacing Info.plist programmatically
  • Next by Date: Re: Replacing Info.plist programmatically
  • Previous by thread: Re: KVO and relationships
  • Next by thread: Using NSThread to run a QCView
  • Index(es):
    • Date
    • Thread