• 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
Re: YANP (Yet Another Nib Problem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: YANP (Yet Another Nib Problem)


  • Subject: Re: YANP (Yet Another Nib Problem)
  • From: "Michael B. Johnson" <email@hidden>
  • Date: Sun, 15 Feb 2004 21:41:40 -0800

nibs are just a directory containing some number of files. Back in the day, the number would be m + n, where n would be the number of images in your nib, but these days n is usually 0. In practice, m is usually 3, classes.nib, info.nib, and objects.nib.

These days, I believe the only one your app actually needs to run is the object.nib. So if you removed the other two, your app would run, but no one would be able to open that nib up in IB. I believe IB wants to see at least a classes.nib file in there (which could be minimal - take a look at one) as well as objects.nib.

Remember that essentially all a nib file is a serialized version of the objects in it. That's as complicated as you want to make it.

You should also take a look at nibtool - you may be able to salvage your nib. Do a man nibtool for info.

Good luck - few things more annoying in Cocoa (and back in NeXTSTEP) than a nib file you can't open, especially if you made it...


On Feb 15, 2004, at 12:52 PM, T Reaves wrote:

	It seems that my nib has decided it's done.  It doesn't want to be
worked on any longer.

	When I open the nib, I get a dialog telling me it is read only.  The
file permissions disagree with that statement, but what do they know.
I used the save as, and when I opened the new file, it decided to play
hard-to-edit as well.

	Can anyone help?

	Thanks!

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


--> Michael B. Johnson, PhD
--> http://homepage.mac.com/drwave (personal)
--> http://xenia.media.mit.edu/~wave (alum)
--> Film On Line Lead
--> Pixar Animation Studios
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: YANP (Yet Another Nib Problem)
      • From: T Reaves <email@hidden>
References: 
 >YANP (Yet Another Nib Problem) (From: T Reaves <email@hidden>)

  • Prev by Date: Re: CVS vs VSS
  • Next by Date: porting C++ from Visual Studio to Xcode and Linux
  • Previous by thread: YANP (Yet Another Nib Problem)
  • Next by thread: Re: YANP (Yet Another Nib Problem)
  • Index(es):
    • Date
    • Thread