Re: Controller Layer and Automatic Key-Value Observing
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.