I wonder why that file extension is called nib
or xib
.
I guess that the ib in nib is Interface Builder
.
But the n
? Or the x
? Any idea?
In fact, the acronym "NIB" comes from "NeXTSTEP Interface Builder", and "XIB" from "Xcode Interface Builder". NIBs and XIBs are effectively the same thing: XIBs are newer and are used while you're developing, whereas NIBs are what get produced when you create a build.
What are XIB files? From the point of view of the UI designer, XIB files contain the views or windows that you design in Interface Builder – the controls, their layout and properties, and their connections to your code. It is important to understand that on a technical level, XIB files are stored object graphs.
A nib file is a special type of resource file that you use to store the user interfaces of iOS and Mac apps. A nib file is an Interface Builder document.
In Storyboard using table cell is better then XIB because it gives more flexibility. In Storyboard it is not easy to handle if you have a large amount of code. It is useful only for a small amount of code.
nib
stands for "NeXT Interface Builder", whereas xib
is for "Mac OS X Interface Builder".
I think the "n" would mean NextStep, the "x" was added to indicate the new XML based format.
(N in "NextStep" Or X in "XML") + Interface Builder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With