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
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
Foundation Constants Reference (HTML) (PDF)
Describes constants in the Foundation framework.
Reference 2009-05-06
Key-Value Observing Programming Guide (HTML) (PDF)
Explains the Cocoa key-value observing protocol.
Guides 2009-05-06
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
Predicate Programming Guide (HTML) (PDF)
Describes how to specify queries in Cocoa.
Guides 2009-05-06
Search Kit Reference (HTML) (PDF)
Describes the interface for supporting user searches of textual content.
Reference 2009-05-06
Stream Programming Guide for Cocoa (HTML) (PDF)
Explains how to use the Cocoa stream classes to read data from and write data to streams.
Guides 2009-05-06
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
NSDictionary Class Reference (HTML) (PDF)
Describes an immutable collection of key-value pairs.
Reference 2009-04-08
NSUserDefaults Class Reference (HTML) (PDF)
Describes an object for managing preference information.
Reference 2009-04-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 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
NSPointerArray Class Reference (HTML) (PDF)
Describes an ordered collection of pointers.
Reference 2009-03-04
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
Collections Programming Topics for Cocoa (HTML) (PDF)
Explains how to group objects in arrays, sets, or dictionaries in Cocoa.
Guides 2009-02-04
Key-Value Coding Programming Guide (HTML) (PDF)
Conceptual information about how to access a Cocoa object's values using keys.
Guides 2009-02-04
NSCalendar Class Reference (HTML) (PDF)
Describes a calendar.
Reference 2009-02-04
NSKeyValueCoding Protocol Reference (HTML) (PDF)
Describes the interface for accessing object properties indirectly by key name or key path.
Reference 2009-02-04
NSPersistentDocument Core Data Tutorial (HTML) (PDF)
Step-by-step instructions for building a simple but functionally rich application using NSPersistentDocument and Cocoa bindings.
Guides 2009-02-04
NSPersistentDocument Core Data Tutorial for Mac OS X v10.4. (HTML) (PDF)
Deprecated - Step-by-step instructions for building a simple but functionally rich application using NSPersistentDocument and Cocoa bindings.
Guides 2009-02-04
NSString Application Kit Additions Reference (HTML) (PDF)
Describes additions for drawing strings.
Reference 2009-02-04
NSString Class Reference (HTML) (PDF)
Describes an immutable character string.
Reference 2009-02-04
Tree-Based XML Programming Guide for Cocoa (HTML) (PDF)
Explains how to use the NSXML classes of Cocoa to process, modify, and query XML data.
Guides 2009-02-04
NSOutputStream Class Reference (HTML) (PDF)
Describes a write-only data stream.
Reference 2009-01-06
NSDateFormatter Class Reference (HTML) (PDF)
Describes a date formatter.
Reference 2008-11-19
NSNumberFormatter Class Reference (HTML) (PDF)
Describes a number formatter.
Reference 2008-11-19
Property List Programming Guide (HTML) (PDF)
Explains how to use structured, textual representations of data in Cocoa.
Guides 2008-11-19
NSMutableArray Class Reference (HTML) (PDF)
Describes a mutable ordered collection.
Reference 2008-11-17
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
Foundation Functions Reference (HTML) (PDF)
Describes Foundation framework functions.
Reference 2008-10-15
NSAtomicStore Class Reference (HTML) (PDF)
Describes a Core Data atomic persistent store.
Reference 2008-10-15
NSAttributedString Class Reference (HTML) (PDF)
Describes a character string with attributes.
Reference 2008-10-15
NSCharacterSet Class Reference (HTML) (PDF)
Describes a set of Unicode characters used in scanning and searching operations.
Reference 2008-10-15
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
NSExpression Class Reference (HTML) (PDF)
Describes a predicate expression.
Reference 2008-10-15
NSFileWrapper Class Reference (HTML) (PDF)
Describes a representation of a file-system node.
Reference 2008-10-15
NSIndexPath Class Reference (HTML) (PDF)
Describes a path to a node in a tree.
Reference 2008-10-15
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
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
NSMutableParagraphStyle Class Reference (HTML) (PDF)
Describes a mutable paragraph style.
Reference 2008-10-15
NSPointerFunctions Class Reference (HTML) (PDF)
Describes callout functions for managing a pointer reference held somewhere else.
Reference 2008-10-15
NSPredicateEditor Class Reference (HTML) (PDF)
Describes a graphical predicate editor.
Reference 2008-10-15
NSScanner Class Reference (HTML) (PDF)
Describes an object that scans values from a string.
Reference 2008-10-15
NSSet Class Reference (HTML) (PDF)
Describes an immutable unordered collection of distinct elements.
Reference 2008-10-15
NSSound Class Reference (HTML) (PDF)
Describes an object that loads and plays audio files.
Reference 2008-10-15
NSStream Class Reference (HTML) (PDF)
Describes an interface for reading and writing data.
Reference 2008-10-15
String Programming Guide for Cocoa (HTML) (PDF)
Explains how to create, search, concatenate, and draw strings in Cocoa.
Guides 2008-10-15
Event-Driven XML Programming Guide for Cocoa (HTML) (PDF)
Explains how to process XML documents using the Cocoa streaming parser.
Guides 2008-09-09
Foundation Data Types Reference (HTML) (PDF)
Describes the common data types in the Foundation framework.
Reference 2008-09-09
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Sample Code 2008-07-25
NSArray Class Reference (HTML) (PDF)
Describes the class used to manage an immutable ordered collection of objects.
Reference 2008-06-09
NSPropertyListSerialization Class Reference (HTML) (PDF)
Describes the class used to convert property list objects to and from several serialized formats.
Reference 2008-06-09
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
DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
Sample Code 2008-06-04
NSCalendarDate Class Reference (HTML) (PDF)
Describes a Gregorian date.
Reference 2008-05-04
Xcode Tools for Core Data (HTML) (PDF)
Describes the Xcode modeling tools for Core Data.
Guides 2008-04-15
AbstractTree (HTML) (DMG) (ZIP)
Using NSTreeController with NSOutlineView, Bindings, and Core Data.
Sample Code 2008-03-17
NSPersistentStoreCoordinator Class Reference (HTML) (PDF)
Describes the class used to mediate between persistent stores and managed object contexts in a Core Data application.
Reference 2008-03-11
PhotoSearch (HTML) (DMG) (ZIP)
Demonstrates advanced controls and cells. Custom drawing, hit testing, tracking, editing, expansion tooltips, tracking areas.
Sample Code 2008-03-05
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
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
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
NSNumber Class Reference (HTML) (PDF)
Describes a number.
Reference 2008-02-08
NSPersistentDocument Class Reference (HTML) (PDF)
Describes a document that integrates with the Core Data framework.
Reference 2008-02-08
NSTimeZone Class Reference (HTML) (PDF)
Describes a time zone.
Reference 2008-02-08
Number and Value Programming Topics for Cocoa (HTML) (PDF)
Explains how to use Cocoa object wrappers for primitive C data types.
Guides 2008-02-08
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
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
NSObjectController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of an object.
Reference 2007-12-11
NSAttributedString Application Kit Additions Reference (HTML) (PDF)
Describes additions for analyzing and using attributed strings.
Reference 2007-12-04
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
Calendar Store Programming Guide (HTML) (PDF)
Explains how to access iCal data.
Guides 2007-10-31
NSDecimalNumber Class Reference (HTML) (PDF)
Describes a decimal number.
Reference 2007-10-31
NSKeyValueObserving Protocol Reference (HTML) (PDF)
Describes the interface for receiving notifications of changes to object properties.
Reference 2007-10-31
NSSortDescriptor Class Reference (HTML) (PDF)
Describes the rules for a sorting operation.
Reference 2007-10-31
NSValue Class Reference (HTML) (PDF)
Describes a container for a single C or Objective-C data item.
Reference 2007-10-31
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
User Defaults Programming Topics for Cocoa (HTML) (PDF)
Explains how to use the Cocoa defaults system to create and save user preferences.
Guides 2007-10-31
Dates and Times Programming Topics for Cocoa (HTML) (PDF)
Explains how to manage Cocoa dates and times.
Guides 2007-09-04
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
Core Data Framework Reference (HTML) (PDF)
Describes the Objective-C API for the Core Data framework.
Reference 2007-07-24
NSValueTransformer Class Reference (HTML) (PDF)
Describes a Cocoa-bindings compatible interface for transforming value representations.
Reference 2007-07-24
NSMapTable Class Reference (HTML) (PDF)
Describes a collection of key-value pairs that supports weak references.
Reference 2007-07-22
NSPersistentStore Class Reference (HTML) (PDF)
New document that describes the abstract Core Data class that represents a persistent store.
Reference 2007-07-22
NSBundle Class Reference (HTML) (PDF)
Describes a collection of resources used in a program.
Reference 2007-07-19
Sort Descriptor Programming Topics (HTML) (PDF)
Explains how to use sort descriptors to specify the sorting of collections.
Guides 2007-07-10
NSFormatter Class Reference (HTML) (PDF)
Describes the interface for formatter objects.
Reference 2007-07-09
Calendar Store Framework Reference (HTML) (PDF)
Describes the Calendar Store framework classes and methods used to access iCal data.
Reference 2007-07-08
NSHashTable Class Reference (HTML) (PDF)
Describes a mutable unordered collection of distinct elements that may use weak references.
Reference 2007-06-26
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