Jump To:
Leopard Reference Library: Cocoa
Applications often need to load specific resources at runtime. The Cocoa frameworks include programmatic interfaces that help applications distribute, locate, and load resources of various kinds. Among the resources that applications can load are plug-in code, feature-availability information, power and energy resources, Internet resources, and localized images, sounds, and strings.

Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Resource Type
Sort by
Date
Resource Programming Guide (HTML) (PDF)
Explains how to work with nib and bundle resources in Mac OS X applications.
Guides 2009-01-06
Code Loading Programming Topics for Cocoa (HTML) (PDF)
Explains how Cocoa applications can dynamically load code during execution.
Guides 2007-08-10
Interacting with the Operating System (HTML) (PDF)
Explains how Cocoa applications manage tasks and get information about hosts and processes.
Guides 2006-04-04
Bundle Programming Guide (HTML) (PDF)
Explains how to use Core Foundation bundle objects to organize resources.
Guides 2005-11-09
NSHelpManager Class Reference (HTML) (PDF)
Describes an application-level help system.
Reference 2009-02-04
NSFileManager Class Reference (HTML) (PDF)
Describes an object that performs file-system operations.
Reference 2008-10-15
NSFileWrapper Class Reference (HTML) (PDF)
Describes a representation of a file-system node.
Reference 2008-10-15
NSSound Class Reference (HTML) (PDF)
Describes an object that loads and plays audio files.
Reference 2008-10-15
NSBundle Additions Reference (HTML) (PDF)
Describes additions for loading nib files in Cocoa applications.
Reference 2007-07-19
NSBundle Class Reference (HTML) (PDF)
Describes a collection of resources used in a program.
Reference 2007-07-19
NSProcessInfo Class Reference (HTML) (PDF)
Describes the current process.
Reference 2007-03-26
NSNibAwaking Protocol Reference (HTML) (PDF)
Describes the interface for initializing unarchived nib objects.
Reference 2007-02-28
NSNibControlConnector Class Reference (HTML) (PDF)
Describes an action connection between nib objects.
Reference 2007-01-31
NSNibOutletConnector Class Reference (HTML) (PDF)
Describes an outlet connection between nib objects.
Reference 2007-01-31
NSNib Class Reference (HTML) (PDF)
Describes an object for unarchiving and instantiating a nib file.
Reference 2007-01-22
NSNibConnector Class Reference (HTML) (PDF)
Describes a generic connection between nib objects.
Reference 2007-01-22
NSCoder Application Kit Additions Reference (HTML) (PDF)
Describes additions for converting archived NXColor objects into NSColor objects.
Reference 2006-05-23
BundleLoader (HTML) (DMG) (ZIP)
Demonstrates how to load multiple Cocoa bundles or NSBundles (also known as plug-ins) into the main NSApplication.
Sample Code 2007-09-21
ViewController (HTML) (DMG) (ZIP)
Demonstrates how to use "NSViewController".
Sample Code 2007-06-11
MapLargeFile (HTML) (DMG) (ZIP)
Shows a technique for mapping files greater than 4GB into memory for faster access.
Sample Code 2003-11-19
JDragNDrop (HTML) (DMG) (ZIP)
Deprecated - Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Sample Code 2003-01-14
Core Animation properties and Reference Counting (HTML)
QA1565: Describes a discrepancy between the property declarations in Core Animation and the actual behavior.
Technical Q&As 2008-11-24
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Technical Q&As 2008-09-24
Registering and unregistering for sleep and wake notifications (HTML)
QA1340: Explains how applications can register and unregister for sleep and wake notifications on Mac OS X.
Technical Q&As 2008-08-08
Customizing Process Stack Size (HTML)
QA1419: Describes methods for setting the stack size of a process and/or thread.
Technical Q&As 2008-02-20
Obtaining the localized application name in Cocoa (HTML)
QA1544: Describes how to obtain several versions of the application name in Cocoa.
Technical Q&As 2007-09-21
Finding EXC_BAD_ACCESS bugs in a Cocoa project (HTML)
QA1367: Discusses how to find memory protection violations or EXC_BAD_ACCESS bugs in Cocoa projects.
Technical Q&As 2006-10-10
Preventing sleep (HTML)
QA1160: Explains how your application can prevent the system from sleeping.
Technical Q&As 2004-10-22