Re: New columns in NSTableView are overridden by plist
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