tags:

views:

67

answers:

5

what's the difference beetween XIB and NIB file??????

A: 

Nothing (as of now). Files with the .xib extension are pronounced "nib" files.

Check out the wikipedia article here for a more in-depth explanation.

Chris Thompson
A: 

Check this out: http://speirs.org/blog/2007/12/5/what-are-xib-files.html

spinon
A: 

See here

Basically:

  • XIB: Text-based XML

  • NIB: Archives, created by Xcode.

RPM1984
+1  A: 

XIB is pronounced "nib".

A XIB file is XML. A NIB file is binary.

XIBs replaced NIBs.

There really isn't a difference between how they are used, but XIBs are now the standard while developing. I believe that XIBs are translated into NIBs when the application is compiled. They are both used the same way and are both edited in Interface Builder.

For more information about what a XIB is look here.

If you need more information you can find a ton of information about this subject if you use google.

Conceited Code
+1  A: 

XIB is actually XML file. NIB is binary. So there are problems when using SVN with NIB files. So XIB replaces them.

taskinoor
There aren't really problems, it's just a lot less efficient since you can't do diffs and have to treat them as a binary file (like any image checked into SVN or some other SCM).The ability to diff is also helpful to understood what you have changed.
Kendall Helmstetter Gelner
Inability of diff isn't a problem? What if multiple people work on the same file? If it's not a problem, then I have noting to say :-)
taskinoor