Re: Usefulness of NSSharedUserDefaultsController?

2009-05-20 Thread Rick Mann
Thanks, Steven. I considered that, but wasn't sure it was better (or worse) than the alternative I described. Can you elaborate on why you do it that way? I tend to prefer writing methods that encapsulate the name of the property rather than calling methods that pass the property name aroun

Re: Usefulness of NSSharedUserDefaultsController?

2009-05-20 Thread Steven Riggs
I directly bind my UI to the shared user defaults controller and I use key value observing to watch for changes. Steven Riggs On May 20, 2009, at 6:24 PM, Rick Mann wrote: How useful is it to bind (in IB) to NSSharedUserDefaultsController, in practice? I have a couple checkboxes bound to pr

Usefulness of NSSharedUserDefaultsController?

2009-05-20 Thread Rick Mann
How useful is it to bind (in IB) to NSSharedUserDefaultsController, in practice? I have a couple checkboxes bound to properties foo and bar in my app delegate. There are a couple other properties that are dependent on foo and bar. I'd like for the values of foo and bar to be persisted acros