Documentation for creating XIBs

Hello all,


I'm looking for official documentation on how to create a XIB and integrate it into a Storyboard. The closest thing I was able to find is the "Xcode Help" document and its "Add objects and media" chapter. But not much is explained on creating XIBs...


Have I missed something?


Thanks

Could you explain more precisely what is your problem ? Is it for IOS, OSX, other ?


You call "File -> New -> FILE…" (or command-N)

Then select the OS and User Interface.

For IOS, for instance, select View, and you'll get a xib file in your project.


If you just want to add a viewController in the storyboard, select the object library in the Utilities Panel (extreme right) and search for View.

Yhen drag and drop a view controller in the storyboard.

View will be insterted (you will not get an independant xib file)

I don't have a problem in particular (anymore). It's just that I've found many ways of doing what I want on the internet but none of them explain the hows and whys of their solutions...


I just want to find an in-depth explanation of why this works (and if the proposed solutions are the correct way of doing it). Isn't there any documentation on XIBs?

Documentation for creating XIBs
 
 
Q