• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings & Reverting Properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindings & Reverting Properties
      • From: Dave Keck <email@hidden>
References: 
 >Bindings & Reverting Properties (From: Dave Keck <email@hidden>)

  • Prev by Date: Toll-free bridging, say for NSDictionary and CFDictionary.
  • Next by Date: CoreData: Using to-may relationships in fetch request predicates
  • Previous by thread: Bindings & Reverting Properties
  • Next by thread: Re: Bindings & Reverting Properties
  • Index(es):
    • Date
    • Thread