NibTool Usage
NibTool Usage
- Subject: NibTool Usage
- From: "Jim O'Connor" <email@hidden>
- Date: Mon, 17 Jan 2005 17:43:18 -0600
Create an application Nib using InterfaceBuilder.
Into the Window, drag a view.
Subclass NSView and accept the new name "MyView".
Assign the class of the view in the window to "MyView".
Save as "Untitled" and quit.
Now, try to turn MyView into YourView using NibTool:
nibtool -C My Your -w Your.nib Untitled.nib
dump the classes in the nib:
nibtool -c Your.nib
/* Classes */
Classes = {
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS =
NSObject; },
{CLASS = MyView; LANGUAGE = ObjC; SUPERCLASS = NSView; }
);
IBVersion = 1;
}; /* End Classes */
Maybe I'm just crazy, and I'm not ruling that out, but shouldn't MyView
be replaced with YourView?
Thanks,
Jim
_______________________________________________
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