Re: Bindings & Reverting Properties
Re: Bindings & Reverting Properties
- Subject: Re: Bindings & Reverting Properties
- From: "I. Savant" <email@hidden>
- Date: Fri, 21 Aug 2009 11:13:45 -0400
On Aug 21, 2009, at 9:27 AM, Dave Keck wrote:
I've implemented a custom bindings-compatible preferences controller
object
- let's call it MyPrefsController. It's similar to
NSUserDefaultsController,
but has lots of different functionality, and inherits directly from
NSObject.
As the user is changing the preferences in the UI, the preferences
file
on-disk is kept in sync. But due to the nature of the app, sometimes
saving
the preferences will fail.
Someone has to say it: Why?! :-)
I can't imagine any possible reason why any design should make it
possible for prefs saving to fail. Just because I can't imagine it
doesn't make it impossible, but it sounds very, very wrong.
With respect, your entire approach is suspect. You might get a
better answer if you explain your overall goal and why you feel the
preferences system needs to be modified in this way to accomplish this
goal.
--
I.S.
_______________________________________________
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