Interface Builder silently changes nib file format
Interface Builder silently changes nib file format
- Subject: Interface Builder silently changes nib file format
- From: Norbert Heger <email@hidden>
- Date: Wed, 05 Mar 2003 16:53:44 +0100
- Organization: Objective Development
Interface Builder 2.3.2 (v291)
If the Interface Builder "Nib File Compatibility" preference has been set to
"10.2 and later format" and if you open an old nib file that was saved in
"Pre-10.2 format", IB will raise an alert panel once you attempt to save
this file, allowing you to choose whether to preserve the "Document Format"
or to use the "Default Format".
If you now choose "Save with Document Format" to preserve compatibility with
pre-10.2 systems, and later save this file again, Interface Builder will no
longer ask you for the desired file format, but instead it will use the
"Default Format" regardless of your previous choice, and the saved nib file
will no longer work on pre-10.2 systems.
Unfortunately, such an accidental file format change usually remains
undetected until you try to run your application on a pre 10.2 system - you
won't notice the change while testing on your development system.
In order to check the actual format of an existing nib file you can take a
look inside the .nib file package. If it contains a file named "objects.nib"
this indicates the pre-10.2 NSArchiver format, a file named
"keyedobjects.nib" indicates the new NSKeyedArchiver format.
I've filed a bug report (ID# :3189446)
Best Regards, Norbert
--
Norbert Heger
Objective Development
http://www.obdev.at/
_______________________________________________
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.