Skip navigation.
 
mlRe: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved?
FROM : Matt Gemmell
DATE : Sun Jan 26 22:55:58 2003

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNib Corruption ("Inconsistencies"): Can This Nib Be Saved? Buzz Andersen Jan 26, 22:40
mlRe: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved? Matt Gemmell Jan 26, 22:55
mlRe: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved? Vince DeMarco Jan 27, 01:52
mlRe: Nib Corruption ("Inconsistencies"): Can This Nib Be Saved? Alex Rice Jan 27, 18:25