• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NibTool Usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [newbie] echo string
  • Next by Date: Re: Reveal in Finder Sample Code
  • Previous by thread: Re: Determining the edited cell from the row and column in a tableview
  • Next by thread: Formatter usage question
  • Index(es):
    • Date
    • Thread