Re: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved?
Re: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved?
- Subject: Re: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved?
- From: Matt Gemmell <email@hidden>
- Date: Sun, 26 Jan 2003 21:55:58 +0000
On Sunday, January 26, 2003, at 09:40 pm, Buzz Andersen wrote:
I appear to have finally encountered the dreaded Nib file corruption
I've heard so much about. Whenever I open my application's
MainMenu.nib, I now get a message telling me that their are
"inconsistencies" in the file and that I should re-save it.
I'm not sure quite how I precipitated this problem, but I do know it
has something to do with an NSTableView that is stored in the nib.
Normally this NSTableView has the autosave name "songTable," and as
long as it stored with that name, I get the error every time I open
the nib in IB. If I remove the autosave name, there is no problem.
Not sure how, but the autosaved data may be corrupt. I think that it's
stored with your app's defaults, in (~/Library/Preferences/<your app's
domain>.plist). You could edit that file with Property List Editor or
whatever, and delete the autosave data for your table. You could do the
same with "defaults delete" in Terminal.
Best,
-Matt
--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.