Re: Creating Cocoa NIB without using InterfaceBuilder
Re: Creating Cocoa NIB without using InterfaceBuilder
- Subject: Re: Creating Cocoa NIB without using InterfaceBuilder
- From: Vince DeMarco <email@hidden>
- Date: Wed, 4 Jul 2001 11:59:55 -0700
On Wednesday, July 4, 2001, at 02:08 AM, Vladimir Yushchak wrote:
Hi All,
Does anybody know how I can create Cocoa NIB file without using
InterfaceBuilder?
The reason is to convert old interface resources into the new one.
It's easy to convert them into XML, but it is Carbon NIB not Cocoa NIB.
The easiest thing you can do is make a palette in Interface Builder and
from the palette add a menu option to IB somewhere, in the code have it
load in the resource file and while loading create the interface in IB
by adding items to the current document.
Be sure to look at the IBDocuments.h header file. Its important to
attach all important objects to the document.
hope this helps
vince