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
PrefsPane (HTML) (DMG) (ZIP)
A Cocoa sample System Preferences bundle that demonstrates how to use the NSPreferencePane class.
Sample Code 2007-06-06
Attributed Strings Programming Guide (HTML) (PDF)
Explains how to use attributed strings, which manage attributes of character strings or individual characters.
Guides 2007-06-04
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
Core Endian Reference (HTML) (PDF)
Describes the C API for creating and installing callbacks to byte swap custom data.
Reference 2007-05-29
NSEntityMapping Class Reference (HTML) (PDF)
Describes the mapping of an entity in a Core Data migration.
Reference 2007-05-22
NSEntityMigrationPolicy Class Reference (HTML) (PDF)
Describes the Core Data class used to customize the migration process for an entity mapping.
Reference 2007-05-22
NSMappingModel Class Reference (HTML) (PDF)
Describes the Core Data class used to specify a mapping from one schema to another during migration.
Reference 2007-05-22
NSMigrationManager Class Reference (HTML) (PDF)
Describes an object that migrates data from one persistent store to another.
Reference 2007-05-22
NSPropertyMapping Class Reference (HTML) (PDF)
Describes a mapping of a property in a Core Data migration.
Reference 2007-05-22
LSMSmartCategorizer (HTML) (DMG) (ZIP)
Demonstrates the Latent Semantic Mapping (LSM) framework by automatically categorize RSS feeds.
Sample Code 2007-05-09
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
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 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
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 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
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