Jump To:
Leopard Reference Library: Cocoa
Data management in Cocoa involves the creation and handling of the various types of data available to a program, such as strings, collections, binary data, dates, property lists, and XML data. Using the Cocoa programming interfaces for these types, developers can, for example, calculate the interval between two dates or record operations so that users can reverse an operation's effect.

Document Descriptions
On Off
Display

Sort by
Title
Sort by
Resource Type
Sorted by
Date
NSComparisonPredicate Class Reference (HTML) (PDF)
Describes the class used to define a predicate used to compare the results of two expressions.
Reference 2007-04-30
NSDecimalNumberHandler Class Reference (HTML) (PDF)
Describes the class used to specify the way an NSDecimalNumber object rounds off and handles errors.
Reference 2007-04-30
NSKeyValueBindingCreation Protocol Reference (HTML) (PDF)
Describes the informal protocol that provides methods to manage bindings between view objects and controllers or controllers and model objects.
Reference 2007-04-10
NSTreeController Class Reference (HTML) (PDF)
Describes the class that is used with Cocoa bindings to manage a tree of objects.
Reference 2007-04-10
NSArrayController Class Reference (HTML) (PDF)
Describes the class that is used with Cocoa bindings to manage a collection of objects.
Reference 2007-04-09
Value Transformer Programming Guide (HTML) (PDF)
Explains how to create and use value transformers, which are used with the Controller Layer.
Guides 2007-04-06
NSInputStream Class Reference (HTML) (PDF)
Describes the class that implements a read-only stream.
Reference 2007-04-05
NSOutputStream Class Reference (HTML) (PDF)
Describes the class that implements a write-only stream.
Reference 2007-04-05
NSController Class Reference (HTML) (PDF)
Describes the abstract class that implements the informal protocols required by controller classes used with Cocoa bindings.
Reference 2007-04-02
NSMutableData Class Reference (HTML) (PDF)
Describes the class used to provide a mutable object-oriented wrapper for a byte buffer.
Reference 2007-03-26
NSIndexSet Class Reference (HTML) (PDF)
Describes the class used to represent an immutable collection of unique unsigned integers.
Reference 2007-03-24
Binary Data Programming Guide for Cocoa (HTML) (PDF)
Explains how to create and use Cocoa data objects, object-oriented wrappers for byte buffers.
Guides 2007-03-06
NSMutableString Class Reference (HTML) (PDF)
Describes the class used to specify and operate on immutable strings.
Reference 2007-03-06
NSXMLDocument Class Reference (HTML) (PDF)
Describes the class for representing XML documents as a logical tree structure.
Reference 2007-02-27
NSXMLDTD Class Reference (HTML) (PDF)
Describes the class used to represent a Document Type Definition.
Reference 2007-02-27
NSXMLDTDNode Class Reference (HTML) (PDF)
Describes the class used to represent element, attribute-list, entity, and notation declarations in a Document Type Definition.
Reference 2007-02-27
NSXMLElement Class Reference (HTML) (PDF)
Describes the class used to represent element nodes in an XML tree structure.
Reference 2007-02-27
NSXMLNode Class Reference (HTML) (PDF)
Describes the class whose instances are nodes in the abstract, logical tree structure that represents an XML document.
Reference 2007-02-27
NSEnumerator Class Reference (HTML) (PDF)
Describes the class used for enumerating collections of other objects, such as arrays and dictionaries.
Reference 2007-02-23
NSKeyValueCoding Protocol Reference (HTML) (PDF)
Describes the informal protocol used to access the properties of an object indirectly by key name or key path.
Reference 2007-02-23
NSMutableDictionary Class Reference (HTML) (PDF)
Describes the class for managing mutable associations of keys and values.
Reference 2007-02-23
TwoManyControllers (HTML) (DMG) (ZIP)
How to use an intermediate NSArrayController to populate an NSTableView across two to-many relationships.
Sample Code 2007-02-23
NSOutlineViewDataSource Protocol Reference (HTML) (PDF)
Describes the protocol used by an outline view to retrieve data from its data source delegate, and--optionally--to update data values.
Reference 2007-02-19
NSXMLParser Class Reference (HTML) (PDF)
Describes the class used to parse XML documents (including DTD declarations) in an event-driven manner.
Reference 2007-02-02
NSCountedSet Class Reference (HTML) (PDF)
Describes the class for managing an unordered collection of elements that are not necessarily distinct.
Reference 2007-01-31
NSManagedObjectModel Class Reference (HTML) (PDF)
Describes the class used to specify a schema in a Core Data application.
Reference 2007-01-26
NSUndoManager Class Reference (HTML) (PDF)
Describes the class used as a general-purpose recorder of operations for undo and redo.
Reference 2007-01-18
NSPredicateEditorRowTemplate Class Reference (HTML) (PDF)
Describes the class that specifies, for a predicate editor view, predicates and how to display them.
Reference 2007-01-12
NSPointerArray Class Reference (HTML) (PDF)
Describes the class used to manage an ordered collection of pointers.
Reference 2007-01-06
NSAtomicStoreCacheNode Class Reference (HTML) (PDF)
Describes the Core Data class used to represent a node in an atomic persistent store.
Reference 2006-10-09
NSManagedObjectID Class Reference (HTML) (PDF)
Describes the class used to specify a universal identifier for a managed object in a Core Data application.
Reference 2006-10-09
NSMutableSet Class Reference (HTML) (PDF)
Describes the class for managing a mutable set of objects; a set is an unordered collection of distinct elements.
Reference 2006-09-19
NSPredicate Class Reference (HTML) (PDF)
Describes the abstract class used to define logical conditions.
Reference 2006-08-16
MigrationV2 (HTML) (DMG) (ZIP)
Demonstrates using a migration mapping and policy to migrate from one store model version to another.
Sample Code 2006-08-01
NSCoder Class Reference (HTML) (PDF)
Describes the abstract class that provides the basis for archiving.
Reference 2006-07-23
NSFetchRequestExpression Class Reference (HTML) (PDF)
Describes the class used to represent a Core Data fetch request as an expression.
Reference 2006-07-16
Search Kit Reference (HTML) (PDF)
Programming interfaces that support user searching of textual content, supporting query-based and similarity-based searches.
Reference 2006-07-14
Find By Content Reference (HTML) (PDF)
Deprecated - Describes the legacy C API for performing relevance-ranked searches. Replaced by Search Kit.
Reference 2006-07-13
NSTreeNode Class Reference (HTML) (PDF)
Describes the class used to manage a tree of objects.
Reference 2006-07-13
NSCompoundPredicate Class Reference (HTML) (PDF)
Describes the class used to represent logical "gate" operations and comparison operations.
Reference 2006-07-04
Key-Value Observing Programming Guide (HTML) (PDF)
Explains the Cocoa key-value observing protocol.
Guides 2006-06-28
NSMutableAttributedString Class Reference (HTML) (PDF)
Describes the subclass of NSAttributedString that supports changing characters and attributes in the string.
Reference 2006-06-28
NSString Application Kit Additions Reference (HTML) (PDF)
Describes extensions to Foundation's NSString class that add support for drawing string objects directly in an NSView.
Reference 2006-06-28
NSArchiver Class Reference (HTML) (PDF)
Describes the class that provides a way to encode objects into an architecture-independent format.
Reference 2006-05-23
NSClassDescription Class Reference (HTML) (PDF)
Describes the abstract class that provides information about the relationships and properties of a class.
Reference 2006-05-23
NSCoder Application Kit Additions Reference (HTML) (PDF)
Describes the class used to convert archived NXColor objects into NSColor objects.
Reference 2006-05-23
NSCoding Protocol Reference (HTML) (PDF)
Describes the protocol used to provide the basis for archiving.
Reference 2006-05-23
NSDecimalNumberBehaviors Protocol Reference (HTML) (PDF)
Describes the protocol used to control the discretionary aspects of working with NSDecimalNumber objects.
Reference 2006-05-23
NSEditor Protocol Reference (HTML) (PDF)
Describes the informal protocol that controllers used with Cocoa bindings must implement to commit or discard any pending edits.
Reference 2006-05-23
NSEditorRegistration Protocol Reference (HTML) (PDF)
Describes the informal protocol that views compatible with Cocoa bindings use to inform controllers when they have uncommitted changes.
Reference 2006-05-23
NSMutableAttributedString Additions Reference (HTML) (PDF)
Describes extensions to Foundation's NSMutableAttributedString class that add support for setting text attributes and making them consistent.
Reference 2006-05-23
NSMutableCharacterSet Class Reference (HTML) (PDF)
Describes the class that manages a modifiable set of Unicode characters.
Reference 2006-05-23
NSMutableIndexSet Class Reference (HTML) (PDF)
Describes the class used to represent a mutable collection of unique unsigned integers.
Reference 2006-05-23
NSNull Class Reference (HTML) (PDF)
Describes the class used to represent null values in collection objects.
Reference 2006-05-23
NSObjCTypeSerializationCallBack Protocol Reference (HTML) (PDF)
Describes a protocol that has been deprecated.
Reference 2006-05-23
NSPlaceholders Protocol Reference (HTML) (PDF)
Describes the protocol that allows classes to provide default display values when a Cocoa binding attribute returns a selection marker.
Reference 2006-05-23
NSSerializer Class Reference (HTML) (PDF)
Describes a class that has been deprecated. Instead use NSPropertyListSerialization.
Reference 2006-05-23
NSUnarchiver Class Reference (HTML) (PDF)
Describes the class that provides a way to decode objects from an archive created by NSArchiver.
Reference 2006-05-23
NSUserDefaultsController Class Reference (HTML) (PDF)
Describes the class that is used with Cocoa bindings to manage an application's user defaults.
Reference 2006-05-23
Search Kit Programming Guide (HTML) (PDF)
Describes Search Kit architecture and workflow, and how to add search capabilities to Carbon and Cocoa applications.
Guides 2005-12-06
Simplifying Data Handling with Uniform Type Identifiers (HTML)
Learn to use UTIs to take advantage of key Mac OS X technologies in your application.
Articles 2005-07-12
BindingsJoystick (HTML) (DMG) (ZIP)
Illustrates a bindings-enabled subclass of NSView.
Sample Code 2005-06-01
CoreRecipes (HTML) (DMG) (ZIP)
Demonstrates the use of Core Data (persistency and object-graph management) with a variety of application projects.
Sample Code 2005-06-01
iSpend (HTML) (DMG) (ZIP)
Demonstrates how to incorporate a number of Cocoa Tiger features into a simple application.
Sample Code 2005-06-01
ManagedObjectDataFormatter (HTML) (DMG) (ZIP)
A Data Formatter for Xcode 2.0 and 2.1 that displays NSManagedObject * variables.
Sample Code 2005-06-01
People (HTML) (DMG) (ZIP)
This program demonstrates the use of the SyncServices framework.
Sample Code 2005-06-01
Sync Services Release Notes (10.4) (HTML)
Release Notes 2005-04-29
Tiger Developer Overview Series: Developing with Core Data (HTML)
Learn to use Core Data to define your application's data model graphically.
Articles 2005-04-04
CFXML to CFPropertyListRef (and back!) (HTML) (日本語 HTML)
QA1208: Describes to how save and restore a CFPropertyListRef to and from an XML file.
Technical Q&As 2003-08-29
BOM characters in 'utxt' clipboard flavor (HTML) (日本語 HTML)
QA1221: Explains the use of the BOM character in 'utxt' scrap data
Technical Q&As 2003-01-20
JDragNDrop (HTML) (DMG) (ZIP)
Deprecated - Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Sample Code 2003-01-14
Undo Architecture (HTML) (PDF)
Explains how to record information in Cocoa so a user can reverse an operation's effect.
Guides 2002-11-12
Why does -stringByTrimmingCharactersInSet: give me an empty string result when it shouldn't? (HTML) (日本語 HTML)
QA1202: Why -stringByTrimmingCharactersInSet: sometimes returns an empty string result in Mac OS X 10.2.x when it shouldn't.
Technical Q&As 2002-10-15
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Technical Q&As 2001-10-25