Resource Programming Guide
PDF
Introduction
About Resources
Nib Files
String Resources
Image, Sound, and Multimedia Resources
Property Lists
Other Resource Files
Legacy Resource Files
Nib Files
Anatomy of a Nib File
About Your Interface Objects
About the File’s Owner
About the First Responder
About the Top-Level Objects
About Image and Sound Resources
Nib File Design Guidelines
The Nib Object Life Cycle
The Object Loading Process
Nib Object Retention
Built-In Support For Nib Files
Loading the Main Nib File
Document and Window Controller Nib Files
Changing the Nib Files from the Xcode Defaults
Loading Nib Files Programmatically
Loading Nib Files Using NSBundle
Getting a Nib File’s Top-Level Objects
Loading Nib Files Using NSNib
Replacing Proxy Objects at Load Time
Accessing the Contents of a Nib File
Connecting Menu Items Across Nib Files
String Resources
Creating Strings Resource Files
Choosing Which Strings to Localize
About the String-Loading Macros
Using the Genstrings Tool to Create Strings Files
Creating Strings Files Manually
Detecting Nonlocalizable Strings
Loading String Resources Into Your Code
Using the Core Foundation Framework
Using the Foundation Framework
Examples of Getting Strings
Advanced Strings File Tips
Searching for Custom Functions With genstrings
Formatting String Resources
Using Special Characters in String Resources
Debugging Strings Files
Image, Sound, and Video Resources
Images and Sounds in Nib Files
Loading Image Resources
Loading Images in Objective-C
Loading Images Using Quartz
Playing Audio Files
Using Core Audio to Play Sounds
Using the AppKit Framework to Play Audio
Playing Video Resources
Playing Video Files in Mac OS X
Playing Video Files in iPhone OS
Carbon Resources
Nib File Design Guidelines
Loading Objects from Nib Files
Unarchiving Objects from the Main Nib File
Unarchiving an Object from an Auxiliary Nib File
Unarchiving an Object from an External Bundle
Revision History
Related Documents
Bundle Programming Guide
Internationalization Programming Topics
Interface Builder User Guide