Re: binding to static text
Re: binding to static text
- Subject: Re: binding to static text
- From: Negm-Awad Amin <email@hidden>
- Date: Wed, 24 Sep 2008 18:13:29 +0200
Am Do,11.09.2008 um 02:38 schrieb James Walker:
I have a static text item whose value is bound to an
NSUserDefaultsController. It correctly shows the value stored as a
default. However, if I programmatically change the text (with -
[NSControl setStringValue:]), the new value does not get saved.
What am I missing?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
The bound property (stringValue) of the bound object (instance of
NSControl) is set automatically, when the observed property (dont'
know) of the observed object (instance of NSUserDefaultsController)
changes.
Nothing is done in the opposite direction (changing the bound property
programmatically)
cheers,
Amin Negm-Awad
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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