Jump To:
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
Sort by
Resource Type
Sorted by
Date
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
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Technical Q&As 2008-01-23
NSFileManager Class Reference (HTML) (PDF)
Describes the class used to perform generic file-system operations.
Reference 2007-12-11
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
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
Resource Programming Guide (HTML) (PDF)
Explains how to work with nib and bundle resources in Mac OS X applications.
Guides 2007-09-04
Code Loading Programming Topics for Cocoa (HTML) (PDF)
Explains how Cocoa applications can dynamically load code during execution.
Guides 2007-08-10
NSBundle Additions Reference (HTML) (PDF)
Describes the API for loading user-interface resource files.
Reference 2007-07-19
NSBundle Class Reference (HTML) (PDF)
Describes the class used to specify and operate a directory in the file system that groups related resources together.
Reference 2007-07-19
ViewController (HTML) (DMG) (ZIP)
Demonstrates how to use "NSViewController".
Sample Code 2007-06-11
NSSound Class Reference (HTML) (PDF)
Describes the class used to load a sound into memory and play it.
Reference 2007-04-27
NSFileWrapper Class Reference (HTML) (PDF)
Describes the class used to represent the contents of a file in memory.
Reference 2007-03-27
NSProcessInfo Class Reference (HTML) (PDF)
Describes the class that provides access to information about the current process.
Reference 2007-03-26
NSHelpManager Class Reference (HTML) (PDF)
Describes the class used to obtain and display online help.
Reference 2007-03-24
NSNibAwaking Protocol Reference (HTML) (PDF)
Describes the protocol for initializing unarchived nib objects.
Reference 2007-02-28
NSNibControlConnector Class Reference (HTML) (PDF)
Describes the class for managing action connections between nib objects.
Reference 2007-01-31
NSNibOutletConnector Class Reference (HTML) (PDF)
Describes the class for managing outlet connections between nib objects.
Reference 2007-01-31
NSNib Class Reference (HTML) (PDF)
Describes the class for unarchiving the contents of nib files.
Reference 2007-01-22
NSNibConnector Class Reference (HTML) (PDF)
Describes the base class for managing connections between nib objects.
Reference 2007-01-22
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
NSCoder Additions Reference (HTML) (PDF)
Describes the class used to convert archived NXColor objects into NSColor objects.
Reference 2006-05-23
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
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