• 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: Controller Layer and Automatic Key-Value Observing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Controller Layer and Automatic Key-Value Observing


  • Subject: Re: Controller Layer and Automatic Key-Value Observing
  • From: Scott Anguish <email@hidden>
  • Date: Sat, 8 Nov 2003 04:37:31 -0500

It looks like this may be an error in the doc, in spite of a number of reviews.

I can't check with the engineer until Monday though.



On Nov 8, 2003, at 3:57 AM, Henrik Wittland wrote:

So if i WOULD rename my property from "info" to the name "name"
something SHOULD work which formerly did not work ???? :-)

Regards,
Henrik

Am 08.11.2003 um 06:16 schrieb Scott Anguish:

if the "name" attribute is being observed, yes, it should work automatically.


On Nov 7, 2003, at 7:12 PM, Frank Illenberger wrote:

But Apple's online key-value observing documentation
(http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueObserving/index.html) states that direct assignments to
instance variables also should trigger an update:

Listing 3-1 Methods of invoking key-value observing
...
// assigning an instance variable directly
name=[newSavingsName retain];

Is this a bug or is it not yet implemented? Nevertheless, I can't
imagine how they could make this magic work with direct assignments.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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: 
 >Re: Controller Layer and Automatic Key-Value Observing (From: Frank Illenberger <email@hidden>)
 >Re: Controller Layer and Automatic Key-Value Observing (From: Scott Anguish <email@hidden>)
 >Re: Controller Layer and Automatic Key-Value Observing (From: Henrik Wittland <email@hidden>)

  • Prev by Date: Re: NSXMLParser and dtds
  • Next by Date: Re: NSTableView, NSArrayController, and ImageAndTextCell
  • Previous by thread: Re: Controller Layer and Automatic Key-Value Observing
  • Next by thread: Re: Controller Layer and Automatic Key-Value Observing
  • Index(es):
    • Date
    • Thread