Home > Articles > Mobile Application Development & Programming

  • Print
  • + Share This
This chapter is from the book

Q&A

  • Q. Why do I keep seeing things referred to as NIB/XIB files?

  • A. The origins of Interface Builder trace back to the NeXT Computer, which made use of NIB files to store individual views. These files, in fact, still bore the same name when Mac OS X was released. In recent years, however, Apple renamed the files to have the .xib extension, which has subsequently been replaced by storyboards and scenes. Unfortunately, Apple’s documentation hasn’t quite caught up yet and may reference XIB or NIB files. If you encounter these documentation barnacles, just substitute “storyboard scene” for XIB or NIB in your head.

  • Q. Some of the objects in the Interface Builder Object Library can’t be added to my view. What gives?

  • A. Not all the items in the Object Library are interface objects. Some represent objects that provide functionality to your application. These can be added to the scene in the Document Outline area or on the icon bar located below a scene’s layout in the IB editor.

  • Q. I’ve seen controls in applications that aren’t available here. Where are they?

  • A. Keep in mind that the iOS objects are heavily customizable and frequently used as a starting point for developers to make their own UI classes or subclasses. The end result can vary tremendously from the stock UI appearance.

  • + Share This
  • 🔖 Save To Your Account