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                                              
laurent.daude...@gmail.com
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to