Re: From Xcode 1.5, NSController cannot be saved using pre-10.2 nib file.
Re: From Xcode 1.5, NSController cannot be saved using pre-10.2 nib file.
- Subject: Re: From Xcode 1.5, NSController cannot be saved using pre-10.2 nib file.
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 20 Oct 2004 08:32:33 -0600
On Oct 20, 2004, at 6:48 AM, Francis Derive wrote:
When going to save the CurrencyConverter's MyDocument.nib file - as an
exercise to Cocoa Bindings - I get a "Save document" alert showing the
result of an "Incompatbility checking" saying that "with Mac Os X
Version 10.3, the NSController class and its subclasses cannot be
saved using pre-10.2 nib format".
That's correct. Every AppKit object that can be created in a nib
supports keyed archiving, and the objects that existed before Mac OS X
10.2 also support "traditional" (non-keyed) archiving for backward
compatibility reasons. NSController originated in Mac OS X 10.3 and
will not be saved in the traditional archiving (pre-10.2) nib format.
Even if NSController supported traditional archiving, which I doubt it
does, the class did not exist way back in the days of 10.1.x and
earlier.
Why this ?? - I am running Panther 10.3.5 with Xcode 1.5, Interface
Builder 2.4.2 (v364) - all the latest stuff.
Where and how this pre-10.2 format comes from ?
As Joar said, you can change the nib's format manually by opening it
and looking in the Nib tab. If you're using Xcode 1.5, then the Cocoa
application template in Xcode creates a pre-10.2 MainMenu.nib bundle. I
don't know why Apple chose to do that, but if you want to change it,
then the template is located inside "/Library/Application
Support/Apple/Developer Tools/Project Templates/Application/Cocoa
Application" on your Mac.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden