Re: Bindings and Observing
Re: Bindings and Observing
- Subject: Re: Bindings and Observing
- From: "Sean McBride" <email@hidden>
- Date: Thu, 25 Mar 2010 14:29:22 -0400
- Organization: Rogue Research Inc.
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".
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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