Re: Bindings and Observing
Re: Bindings and Observing
- Subject: Re: Bindings and Observing
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 25 Mar 2010 11:42:34 -0700
On Mar 25, 2010, at 11:29, Sean McBride wrote:
> On Thu, 25 Mar 2010 11:25:46 -0700, Laurent Daudelin said:
>
>> I see. I thought about observing those properties managed by the user
>> defaults controller but after I read the document "Controller Key-Value
>> Observing Compliance", I saw that NSUserDefaultsController is a key-
>> value-observing only for a limited set of its own properties. That left
>> me thinking that I would not be able to observe the user defaults
>> properties managed by the controller but maybe I'm not ready this correctly?
>
> You can key-value observe "values", which is pretty much the only one
> you need. Ex, you can observe "values.colourPreference".
Thanks for the confirmation, Sean! Much appreciated!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
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