Re: NSUserDefaultsController and KVO
Re: NSUserDefaultsController and KVO
- Subject: Re: NSUserDefaultsController and KVO
- From: Chris Hanson <email@hidden>
- Date: Mon, 8 Dec 2003 20:37:33 -0600
On Dec 8, 2003, at 4:03 PM, David Webster wrote:
I have a problem getting back a value from NSUserDefaults that I write
to from a popup button bound to NSUserDefaultsController. I need to
have my preference controller notified when this popup changes as I
need to set the state of other widgets based on this popup.
Why not just create a binding in each of the other controls between
their value and the same key in the Shared User Defaults controller?
That way, you can let the controller architecture do all of the heavy
lifting.
-- Chris
--
Chris Hanson <email@hidden>
bDistributed.com, Inc.
Outsourcing Vendor Evaluation
Custom Mac OS X Development
Cocoa Developer Training
_______________________________________________
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.