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

Sorted by
Title
Sort by
Resource Type
Sort by
Date
AbstractTree (HTML) (DMG) (ZIP)
Using NSTreeController with NSOutlineView, Bindings, and Core Data.
Sample Code 2008-03-17
Apple Applications Schema Reference (HTML) (PDF)
Describes the schemas used by Apple Applications to sync records such as contacts, calendars, and bookmarks.
Reference 2007-10-31
Archives and Serializations Programming Guide for Cocoa (HTML) (PDF)
Explains how to put Cocoa objects into and remove them from a representation suitable for archiving.
Guides 2009-02-04
Atomic Store Programming Topics (HTML) (PDF)
Describes how to use the Core Data atomic store API to create persistent stores that use a custom format.
Guides 2008-02-08
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
Binary Data Programming Guide for Cocoa (HTML) (PDF)
Explains how to create and use Cocoa data objects, object-oriented wrappers for byte buffers.
Guides 2009-05-06
BindingsJoystick (HTML) (DMG) (ZIP)
Illustrates a bindings-enabled subclass of NSView.
Sample Code 2005-06-01
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
Bound Button (HTML) (DMG) (ZIP)
Illustrates using Cocoa bindings to bind a button's target and action parameters.
Sample Code 2007-06-08
Calendar Store Framework Reference (HTML) (PDF)
Describes the Calendar Store framework classes and methods used to access iCal data.
Reference 2007-07-08
Calendar Store Programming Guide (HTML) (PDF)
Explains how to access iCal data.
Guides 2007-10-31
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
Collections Programming Topics for Cocoa (HTML) (PDF)
Explains how to group objects in arrays, sets, or dictionaries in Cocoa.
Guides 2009-02-04
Core Data Framework Reference (HTML) (PDF)
Describes the Objective-C API for the Core Data framework.
Reference 2007-07-24
Core Data HTML Store (HTML) (DMG) (ZIP)
Implementation of a Core Data atomic store based on HTML tables
Sample Code 2007-06-01
Core Data Model Versioning and Data Migration Programming Guide (HTML) (PDF)
Explains the managed object model versioning and data migration features of Core Data.
Guides 2008-02-08
Core Data Overview (HTML)
Describes a roadmap for learning Core Data.
Getting Started 2009-03-04
Core Data Programming Guide (HTML) (PDF)
Explains how to manage objects using the Core Data framework.
Guides 2009-03-04
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
Core Data Snippets (HTML) (PDF)
Snippets of code that you can use when writing a program that uses Core Data.
Guides 2009-03-04
Core Data Utility Tutorial (HTML) (PDF)
A hands-on guide to creating a command-line utility using low-level features of Core Data.
Guides 2009-03-04
Core Endian Reference (HTML) (PDF)
Describes the C API for creating and installing callbacks to byte swap custom data.
Reference 2007-05-29
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
Creating a Managed Object Model with Xcode (HTML) (PDF)
A tutorial that shows how to create a Core Data managed object model using Xcode.
Guides 2007-08-07
CustomAtomicStoreSubclass (HTML) (DMG) (ZIP)
Illustrates the implementation of a custom Core Data atomic store.
Sample Code 2007-06-08
Data Formatting Programming Guide for Cocoa (HTML) (PDF)
Explains how to use Cocoa formatters to create and validate text in text fields and other cells.
Guides 2008-10-15
Dates and Times Programming Topics for Cocoa (HTML) (PDF)
Explains how to manage Cocoa dates and times.
Guides 2007-09-04
Departments and Employees (HTML) (DMG) (ZIP)
Source code for NSPersistentDocument Core Data Tutorial.
Sample Code 2007-05-31
DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
Sample Code 2008-06-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
Event-Driven XML Programming Guide for Cocoa (HTML) (PDF)
Explains how to process XML documents using the Cocoa streaming parser.
Guides 2008-09-09
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
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
Foundation Constants Reference (HTML) (PDF)
Describes constants in the Foundation framework.
Reference 2009-05-06
Foundation Data Types Reference (HTML) (PDF)
Describes the common data types in the Foundation framework.
Reference 2008-09-09
Foundation Functions Reference (HTML) (PDF)
Describes Foundation framework functions.
Reference 2008-10-15
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Sample Code 2008-07-25
iSpend (HTML) (DMG) (ZIP)
Demonstrates how to incorporate a number of Cocoa Tiger features into a simple application.
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
Key-Value Coding Programming Guide (HTML) (PDF)
Conceptual information about how to access a Cocoa object's values using keys.
Guides 2009-02-04
Key-Value Observing Programming Guide (HTML) (PDF)
Explains the Cocoa key-value observing protocol.
Guides 2009-05-06
LSMSmartCategorizer (HTML) (DMG) (ZIP)
Demonstrates the Latent Semantic Mapping (LSM) framework by automatically categorize RSS feeds.
Sample Code 2007-05-09
ManagedObjectDataFormatter (HTML) (DMG) (ZIP)
A Data Formatter for Xcode 2.0 and 2.1 that displays NSManagedObject * variables.
Sample Code 2005-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
NSArchiver Class Reference (HTML) (PDF)
Describes a class that encodes objects into an architecture-independent format.
Reference 2006-05-23
NSArray Class Reference (HTML) (PDF)
Describes the class used to manage an immutable ordered collection of objects.
Reference 2008-06-09
NSArrayController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of an array or set.
Reference 2007-04-09
NSAtomicStore Class Reference (HTML) (PDF)
Describes a Core Data atomic persistent store.
Reference 2008-10-15
NSAtomicStoreCacheNode Class Reference (HTML) (PDF)
Describes a node in an atomic persistent store.
Reference 2006-10-09
NSAttributedString Application Kit Additions Reference (HTML) (PDF)
Describes additions for analyzing and using attributed strings.
Reference 2007-12-04
NSAttributedString Class Reference (HTML) (PDF)
Describes a character string with attributes.
Reference 2008-10-15
NSBundle Class Reference (HTML) (PDF)
Describes a collection of resources used in a program.
Reference 2007-07-19
NSCalendar Class Reference (HTML) (PDF)
Describes a calendar.
Reference 2009-02-04
NSCalendarDate Class Reference (HTML) (PDF)
Describes a Gregorian date.
Reference 2008-05-04
NSCharacterSet Class Reference (HTML) (PDF)
Describes a set of Unicode characters used in scanning and searching operations.
Reference 2008-10-15
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
NSCoder Class Reference (HTML) (PDF)
Describes the abstract class that provides the basis for archiving.
Reference 2006-07-23
NSCoding Protocol Reference (HTML) (PDF)
Describes the interface for archiving.
Reference 2006-05-23
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
NSCompoundPredicate Class Reference (HTML) (PDF)
Describes a representation of logical gate and comparison operations.
Reference 2006-07-04
NSController Class Reference (HTML) (PDF)
Describes the interface for controllers used with Cocoa bindings.
Reference 2007-04-02
NSCountedSet Class Reference (HTML) (PDF)
Describes an unordered collection of possibly identical elements.
Reference 2009-05-06
NSData Class Reference (HTML) (PDF)
Describes an immutable byte buffer.
Reference 2009-05-06
NSDate Class Reference (HTML) (PDF)
Describes a single point in time.
Reference 2008-10-15
NSDateComponents Class Reference (HTML) (PDF)
Describes the components of a date.
Reference 2008-10-15
NSDateFormatter Class Reference (HTML) (PDF)
Describes a date formatter.
Reference 2008-11-19
NSDecimalNumber Class Reference (HTML) (PDF)
Describes a decimal number.
Reference 2007-10-31
NSDecimalNumberBehaviors Protocol Reference (HTML) (PDF)
Describes the interface for controlling the behavior of NSDecimalNumber objects.
Reference 2006-05-23
NSDecimalNumberHandler Class Reference (HTML) (PDF)
Describes an object that specifies decimal number rounding and error handling.
Reference 2007-04-30
NSDictionary Class Reference (HTML) (PDF)
Describes an immutable collection of key-value pairs.
Reference 2009-04-08
NSDictionaryController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of a dictionary.
Reference 2008-06-05
NSDictionaryControllerKeyValuePair Protocol Reference (HTML) (PDF)
Describes the interface for managing key-value pairs used by a dictionary controller.
Reference 2008-06-05
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
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
NSEnumerator Class Reference (HTML) (PDF)
Describes a facility for sequentially returning the elements of a collection.
Reference 2007-02-23
NSExpression Class Reference (HTML) (PDF)
Describes a predicate expression.
Reference 2008-10-15
NSFetchRequest Class Reference (HTML) (PDF)
Describes the class used to describe search criteria used to retrieve data from a persistent store in Core Data.
Reference 2008-02-08
NSFetchRequestExpression Class Reference (HTML) (PDF)
Describes a Core Data fetch request as an expression.
Reference 2006-07-16
NSFileWrapper Class Reference (HTML) (PDF)
Describes a representation of a file-system node.
Reference 2008-10-15
NSFormatter Class Reference (HTML) (PDF)
Describes the interface for formatter objects.
Reference 2007-07-09
NSHashTable Class Reference (HTML) (PDF)
Describes a mutable unordered collection of distinct elements that may use weak references.
Reference 2007-06-26
NSIndexPath Class Reference (HTML) (PDF)
Describes a path to a node in a tree.
Reference 2008-10-15
NSIndexSet Class Reference (HTML) (PDF)
Describes an immutable collection of unique unsigned integers.
Reference 2007-03-24
NSInputStream Class Reference (HTML) (PDF)
Describes a read-only data stream.
Reference 2007-04-05
NSKeyedArchiver Class Reference (HTML) (PDF)
Describes the facility for encoding objects and scalar values identified by keys.
Reference 2008-10-15
NSKeyedUnarchiver Class Reference (HTML) (PDF)
Describes an object that extracts the contents of an archive created by the NSKeyedArchiver class.
Reference 2008-10-15
NSKeyValueBindingCreation Protocol Reference (HTML) (PDF)
Describes the interface for managing Cocoa bindings.
Reference 2007-04-10
NSKeyValueCoding Protocol Reference (HTML) (PDF)
Describes the interface for accessing object properties indirectly by key name or key path.
Reference 2009-02-04
NSKeyValueObserving Protocol Reference (HTML) (PDF)
Describes the interface for receiving notifications of changes to object properties.
Reference 2007-10-31
NSManagedObject Class Reference (HTML) (PDF)
Describes a Core Data model object.
Reference 2008-10-15
NSManagedObjectContext Class Reference (HTML) (PDF)
Describes the class used to represent a single "object space" in a Core Data application.
Reference 2008-10-15
NSManagedObjectID Class Reference (HTML) (PDF)
Describes a universal identifier for a managed object.
Reference 2006-10-09
NSManagedObjectModel Class Reference (HTML) (PDF)
Describes a Core Data schema.
Reference 2007-01-26
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
NSMapTable Class Reference (HTML) (PDF)
Describes a collection of key-value pairs that supports weak references.
Reference 2007-07-22
NSMigrationManager Class Reference (HTML) (PDF)
Describes an object that migrates data from one persistent store to another.
Reference 2007-05-22
NSMutableArray Class Reference (HTML) (PDF)
Describes a mutable ordered collection.
Reference 2008-11-17