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
Sorted by
Resource Type
Sort 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 an object that specifies decimal number rounding and error handling.
Reference 2007-04-30
NSKeyValueBindingCreation Protocol Reference (HTML) (PDF)
Describes the interface for managing Cocoa bindings.
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 a Cocoa bindings-compatible manager of an array or set.
Reference 2007-04-09
NSInputStream Class Reference (HTML) (PDF)
Describes a read-only data stream.
Reference 2007-04-05
NSController Class Reference (HTML) (PDF)
Describes the interface for controllers used with Cocoa bindings.
Reference 2007-04-02
NSMutableData Class Reference (HTML) (PDF)
Describes a mutable byte buffer.
Reference 2007-03-26
NSIndexSet Class Reference (HTML) (PDF)
Describes an immutable collection of unique unsigned integers.
Reference 2007-03-24
NSMutableString Class Reference (HTML) (PDF)
Describes a mutable character string.
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 a representation of a Document Type Definition as a tree structure.
Reference 2007-02-27
NSXMLDTDNode Class Reference (HTML) (PDF)
Describes a declaration node for a Document Type Definition.
Reference 2007-02-27
NSXMLElement Class Reference (HTML) (PDF)
Describes an element node in an XML tree structure.
Reference 2007-02-27
NSXMLNode Class Reference (HTML) (PDF)
Describes a logical node in an XML tree structure.
Reference 2007-02-27
NSEnumerator Class Reference (HTML) (PDF)
Describes a facility for sequentially returning the elements of a collection.
Reference 2007-02-23
NSMutableDictionary Class Reference (HTML) (PDF)
Describes a changeable collection of values that are identified by keys.
Reference 2007-02-23
NSOutlineViewDataSource Protocol Reference (HTML) (PDF)
Describes the interface used by an outline view to retrieve data and, optionally, to update data values.
Reference 2007-02-19
NSXMLParser Class Reference (HTML) (PDF)
Describes an object for finding and extracting data in XML documents.
Reference 2007-02-02
NSManagedObjectModel Class Reference (HTML) (PDF)
Describes a Core Data schema.
Reference 2007-01-26
NSUndoManager Class Reference (HTML) (PDF)
Describes a general-purpose recorder of undo and redo operations.
Reference 2007-01-18
NSPredicateEditorRowTemplate Class Reference (HTML) (PDF)
Describes a row in a graphical predicate editor.
Reference 2007-01-12
NSAtomicStoreCacheNode Class Reference (HTML) (PDF)
Describes a node in an atomic persistent store.
Reference 2006-10-09
NSManagedObjectID Class Reference (HTML) (PDF)
Describes a universal identifier for a managed object.
Reference 2006-10-09
NSMutableSet Class Reference (HTML) (PDF)
Describes a mutable unordered collection of distinct elements.
Reference 2006-09-19
NSPredicate Class Reference (HTML) (PDF)
Describes a representation of logical conditions.
Reference 2006-08-16
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 a Core Data fetch request as an expression.
Reference 2006-07-16
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 a tree node in an object model.
Reference 2006-07-13
NSCompoundPredicate Class Reference (HTML) (PDF)
Describes a representation of logical gate and comparison operations.
Reference 2006-07-04
NSMutableAttributedString Class Reference (HTML) (PDF)
Describes a mutable character string with attributes.
Reference 2006-06-28
NSArchiver Class Reference (HTML) (PDF)
Describes a class that encodes objects into an architecture-independent format.
Reference 2006-05-23
NSClassDescription Class Reference (HTML) (PDF)
Describes the interface for information about the relationships and properties of a class.
Reference 2006-05-23
NSCoder Application Kit Additions Reference (HTML) (PDF)
Describes additions for converting archived NXColor objects into NSColor objects.
Reference 2006-05-23
NSCoding Protocol Reference (HTML) (PDF)
Describes the interface for archiving.
Reference 2006-05-23
NSDecimalNumberBehaviors Protocol Reference (HTML) (PDF)
Describes the interface for controlling the behavior of NSDecimalNumber objects.
Reference 2006-05-23
NSEditor Protocol Reference (HTML) (PDF)
Describes the interface used to commit or discard edits.
Reference 2006-05-23
NSEditorRegistration Protocol Reference (HTML) (PDF)
Describes the interface for receiving uncommitted-change messages from Cocoa bindings-compatible views.
Reference 2006-05-23
NSMutableAttributedString Additions Reference (HTML) (PDF)
Describes additions for setting attributes of mutable attributed strings.
Reference 2006-05-23
NSMutableCharacterSet Class Reference (HTML) (PDF)
Describes a mutable set of characters.
Reference 2006-05-23
NSMutableIndexSet Class Reference (HTML) (PDF)
Describes a mutable collection of unique unsigned integers.
Reference 2006-05-23
NSNull Class Reference (HTML) (PDF)
Describes an object that represents null.
Reference 2006-05-23
NSObjCTypeSerializationCallBack Protocol Reference (HTML) (PDF)
Describes a deprecated technology.
Reference 2006-05-23
NSPlaceholders Protocol Reference (HTML) (PDF)
Describes the interface for providing default display values when a Cocoa bindings attribute returns a selection marker.
Reference 2006-05-23
NSSerializer Class Reference (HTML) (PDF)
Describes a deprecated technology replaced by the NSPropertyListSerialization class.
Reference 2006-05-23
NSUnarchiver Class Reference (HTML) (PDF)
Describes an object that extracts the contents of an archive created by NSArchiver.
Reference 2006-05-23
NSUserDefaultsController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager for user preferences.
Reference 2006-05-23
Core Data Release Notes (HTML)
Describes features, issues, and workarounds related to Mac OS X v10.5 and its support of Core Data.
Release Notes 2007-12-11
Sync Services Release Notes (10.5) (HTML)
Describes new features, notes, and known issues for Sync Services on Mac OS X v10.5.
Release Notes 2007-10-31
Sync Services Release Notes (10.4) (HTML)
Release Notes 2005-04-29
File Wrappers with Core Data Documents (HTML) (DMG) (ZIP)
This sample demonstrates how directory file wrappers can be used with NSPersistentDocument.
Sample Code 2009-04-29
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Sample Code 2008-07-25
DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
Sample Code 2008-06-04
AbstractTree (HTML) (DMG) (ZIP)
Using NSTreeController with NSOutlineView, Bindings, and Core Data.
Sample Code 2008-03-17
PhotoSearch (HTML) (DMG) (ZIP)
Demonstrates advanced controls and cells. Custom drawing, hit testing, tracking, editing, expansion tooltips, tracking areas.
Sample Code 2008-03-05
With and Without Bindings (HTML) (DMG) (ZIP)
Illustrates the adoption of Cocoa Bindings and refactoring using a subclass of NSArrayController.
Sample Code 2008-01-04
DictionaryController (HTML) (DMG) (ZIP)
"DictionaryController" is a Cocoa application that demonstrates various ways in how to use the NSDictionaryController class.
Sample Code 2007-12-20
Bound Button (HTML) (DMG) (ZIP)
Illustrates using Cocoa bindings to bind a button's target and action parameters.
Sample Code 2007-06-08
CustomAtomicStoreSubclass (HTML) (DMG) (ZIP)
Illustrates the implementation of a custom Core Data atomic store.
Sample Code 2007-06-08
Simple Bindings Adoption (HTML) (DMG) (ZIP)
A simple example that illustrates the adoption of Cocoa Bindings.
Sample Code 2007-06-07
PrefsPane (HTML) (DMG) (ZIP)
A Cocoa sample System Preferences bundle that demonstrates how to use the NSPreferencePane class.
Sample Code 2007-06-06
Core Data HTML Store (HTML) (DMG) (ZIP)
Implementation of a Core Data atomic store based on HTML tables
Sample Code 2007-06-01
NewsReader (HTML) (DMG) (ZIP)
Demonstrates use of the Publication Subscription framework to create a simple RSS reader application.
Sample Code 2007-06-01
Departments and Employees (HTML) (DMG) (ZIP)
Source code for NSPersistentDocument Core Data Tutorial.
Sample Code 2007-05-31
LSMSmartCategorizer (HTML) (DMG) (ZIP)
Demonstrates the Latent Semantic Mapping (LSM) framework by automatically categorize RSS feeds.
Sample Code 2007-05-09
TwoManyControllers (HTML) (DMG) (ZIP)
How to use an intermediate NSArrayController to populate an NSTableView across two to-many relationships.
Sample Code 2007-02-23
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
JDragNDrop (HTML) (DMG) (ZIP)
Deprecated - Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Sample Code 2003-01-14
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
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