• 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: New columns in NSTableView are overridden by plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New columns in NSTableView are overridden by plist


  • Subject: Re: New columns in NSTableView are overridden by plist
  • From: Dustin Wenz <email@hidden>
  • Date: Fri, 9 Feb 2007 12:40:37 -0600

On Feb 9, 2007, at 12:20 PM, Andreas Mayer wrote:


Am 09.02.2007 um 19:04 Uhr schrieb Dustin Wenz:

This seems like a fundamental problem for anyone using user defaults+autosave. Is there a correct way to handle this situation?

I don't think there is.

In my own apps I remove the appropriate defaults entry when the app is upgraded. That's not a nice solution since it depends on the undocumented defaults keys that NSTableView uses.

It does work though. :}

I thought about that originally; the problem is that I would need to do some unclean things to make it work and it seems like it would be against the spirit of autosave (coding special cases rather than generalizing behavior in the nib).


I.S.'s idea about simply changing the autosave key between revs might be the easiest thing to do. However, I'm a little concerned about leaving a lot of orphaned defaults in the prefs file...

	- .Dustin

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >New columns in NSTableView are overridden by plist (From: Dustin Wenz <email@hidden>)
 >Re: New columns in NSTableView are overridden by plist (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: iTunes-like behaviour of NSButton with NSAlternateKeyMask
  • Next by Date: Re: Need list of apps that can open file type
  • Previous by thread: Re: New columns in NSTableView are overridden by plist
  • Next by thread: iTunes-like behaviour of NSButton with NSAlternateKeyMask
  • Index(es):
    • Date
    • Thread