Jump To:
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 2007-10-31
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 2007-03-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 2007-10-31
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 Programming Guide (HTML) (PDF)
Explains how to manage objects using the Core Data framework.
Guides 2008-02-08
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 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 2007-03-20
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 2006-12-05
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 the constants defined in the Foundation framework not described in individual classes.
Reference 2007-04-03
Foundation Data Types Reference (HTML) (PDF)
Describes the data types defined in the Foundation framework not described in individual classes.
Reference 2008-03-11
Foundation Functions Reference (HTML) (PDF)
Describes the functions defined in the Foundation framework.
Reference 2008-07-11
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 2007-06-06
Key-Value Observing Programming Guide (HTML) (PDF)
Explains the Cocoa key-value observing protocol.
Guides 2006-06-28
Low-Level Core Data Tutorial (HTML) (PDF)
A hands-on guide to creating a command-line utility using low-level features of Core Data.
Guides 2008-02-08
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
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
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 the class that provides a way to encode 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 the class that is used with Cocoa bindings to manage a collection of objects.
Reference 2007-04-09
NSAtomicStore Class Reference (HTML) (PDF)
Describes the Core Data class used to represent an atomic persistent store.
Reference 2007-10-31
NSAtomicStoreCacheNode Class Reference (HTML) (PDF)
Describes the Core Data class used to represent a node in an atomic persistent store.
Reference 2006-10-09
NSAttributedString Application Kit Additions Reference (HTML) (PDF)
Describes extensions to Foundation's NSAttributedString class that add support for document types, text attributes, and string handling.
Reference 2007-12-04
NSAttributedString Class Reference (HTML) (PDF)
Describes the class for creating and managing strings that can have sets of attributes associated with specified character ranges.
Reference 2006-06-28
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
NSCalendar Class Reference (HTML) (PDF)
Describes the class used to define and operate on the divisions of a year.
Reference 2008-06-09
NSCalendarDate Class Reference (HTML) (PDF)
Describes the class used to define dates and perform date computations based on the Gregorian calendar.
Reference 2008-05-04
NSCharacterSet Class Reference (HTML) (PDF)
Describes the class for managing a set of Unicode characters, usually for scanning or searching operations.
Reference 2007-02-22
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 Additions Reference (HTML) (PDF)
Describes the class used to convert 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 protocol used to provide the basis 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 the class used to represent logical "gate" operations and comparison operations.
Reference 2006-07-04
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
NSCountedSet Class Reference (HTML) (PDF)
Describes the class for managing an unordered collection of elements that are not necessarily distinct.
Reference 2007-01-31
NSData Class Reference (HTML) (PDF)
Describes the class used to provide an immutable object-oriented wrapper for a byte buffer.
Reference 2008-02-08
NSDate Class Reference (HTML) (PDF)
Describes the class used to define and operate on specific and relative time values.
Reference 2008-06-09
NSDateComponents Class Reference (HTML) (PDF)
Describes the class used to specify and operate on the components of a date.
Reference 2007-10-31
NSDateFormatter Class Reference (HTML) (PDF)
Describes the class used to convert between string representations of date and time information and date objects.
Reference 2007-01-23
NSDecimalNumber Class Reference (HTML) (PDF)
Describes the class used to specify an object-oriented wrapper for doing base-10 arithmetic.
Reference 2007-10-31
NSDecimalNumberBehaviors Protocol Reference (HTML) (PDF)
Describes the protocol used to control the discretionary aspects of working with NSDecimalNumber objects.
Reference 2006-05-23
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
NSDictionary Class Reference (HTML) (PDF)
Describes the class for managing associations of keys and values.
Reference 2008-02-08
NSDictionaryController Class Reference (HTML) (PDF)
Describes the class used with Cocoa bindings to manage a dictionary of objects.
Reference 2008-06-05
NSDictionaryControllerKeyValuePair Protocol Reference (HTML) (PDF)
Describes the protocol used by the Cocoa bindings NSDictionaryController class.
Reference 2008-06-05
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
NSEntityMapping Class Reference (HTML) (PDF)
Describes the class used to specify 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 the class used for enumerating collections of other objects, such as arrays and dictionaries.
Reference 2007-02-23
NSExpression Class Reference (HTML) (PDF)
Describes the class used to represent expressions in a predicate.
Reference 2008-07-11
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 the class used to represent a Core Data fetch request as an expression.
Reference 2006-07-16
NSFileWrapper Class Reference (HTML) (PDF)
Describes the class used to represent the contents of a file in memory.
Reference 2007-03-27
NSFormatter Class Reference (HTML) (PDF)
Describes the abstract superclass for objects that create, interpret, and validate the textual representation of cell contents.
Reference 2007-07-09
NSHashTable Class Reference (HTML) (PDF)
Describes the Cocoa class used to contain a set of objects, optionally using weak references.
Reference 2007-06-26
NSIndexPath Class Reference (HTML) (PDF)
Describes the class used to represent a path to a node in a tree.
Reference 2007-10-31
NSIndexSet Class Reference (HTML) (PDF)
Describes the class used to represent an immutable collection of unique unsigned integers.
Reference 2007-03-24
NSInputStream Class Reference (HTML) (PDF)
Describes the class that implements a read-only stream.
Reference 2007-04-05
NSKeyedArchiver Class Reference (HTML) (PDF)
Describes the class used to encode objects and scalar values into an architecture-independent format.
Reference 2007-01-30
NSKeyedUnarchiver Class Reference (HTML) (PDF)
Describes the class used to decode objects and scalar values from an architecture-independent format.
Reference 2007-01-18
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
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
NSKeyValueObserving Protocol Reference (HTML) (PDF)
Describes the informal protocol that allows objects to be notified of changes to the specified properties of other objects.
Reference 2007-10-31
NSManagedObject Class Reference (HTML) (PDF)
Describes the class used to represent model objects in Core Data.
Reference 2007-10-31
NSManagedObjectContext Class Reference (HTML) (PDF)
Describes the class used to represent a single "object space" in a Core Data application.
Reference 2007-07-19
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
NSManagedObjectModel Class Reference (HTML) (PDF)
Describes the class used to specify a schema in a Core Data application.
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 the Cocoa class used to contain an array of objects, optionally using weak references.
Reference 2007-07-22
NSMigrationManager Class Reference (HTML) (PDF)
Describes the Core Data class that performs a migration of data from one persistent store to another.
Reference 2007-05-22
NSMutableArray Class Reference (HTML) (PDF)
Describes the class used to manage a mutable ordered collection of objects.
Reference 2007-03-07
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
NSMutableAttributedString Class Reference (HTML) (PDF)
Describes the subclass of NSAttributedString that supports changing characters and attributes in the string.
Reference 2006-06-28
NSMutableCharacterSet Class Reference (HTML) (PDF)
Describes the class that manages a modifiable set of Unicode characters.
Reference 2006-05-23