Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Nib Files

A nib file contains the application’s interface-based resources. It’s an Interface Builder file (the “ib” in “nib” stands for Interface Builder) that contains descriptions of the interface elements in your application. These descriptions use XML (extended markup language), although you’ll never see, nor should you try to edit, the XML in a nib file. A nib file can contain user-interface objects, and references to any sounds, and images used in the interface.

A nib file can describe all or part of a user interface. Most applications use two or more nib files, with one of them designated as the main nib file. The main nib file contains the main menu and any windows and panels you want to appear when your application starts up. In addition to the main nib file, you can have one or more nib files that you load whenever you need them. The additional nib files are called auxiliary nib files. For example, if your application is a word processor, you might have an auxiliary a nib file for a document window. Each time your user creates a new document, you’d use Interface Builder Services to unarchive a document window from the auxiliary nib file.



< Previous PageNext Page > Hide TOC


Last updated: 2004-02-17




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice