Re: Upgrading old nibs
Re: Upgrading old nibs
- Subject: Re: Upgrading old nibs
- From: Vince DeMarco <email@hidden>
- Date: Fri, 24 Aug 2001 09:32:18 -0700
On Friday, August 24, 2001, at 09:02 am, Phil Barrett wrote:
I've seen several people asking about this both here and on macosx-dev,
but
no answers yet.
Does anyone have a way to upgrade NeXTSTEP nib files so they can be used
on
OS X?
InterfaceBuilder refuses to open them and puts this in the console:
-[__IBDocument readFromFile:/mypath/mynib.nib ofType:Interface Builder
Document] failed with exception "*** class error for 'IBObjectData': class
not loaded"
nibtool gives the same error.
Many people have boasted that they took their old NS apps straight into
Cocoa with no problems - so there must be a way, surely? I have access to
NS
boxes if that'll help.
The easiest (?) thing to do is open the files on an older version of
Nextstep and move them up.
Open the nib and resave it on a 2.x system, then do the same with a 3.x
system then move it to Openstep and then to server and then to X.
the 2.x -> 3.x might not be needed though.
Both nibtool and Interface Builder use exactly the same code to read and
write nib files.
vince