Jump To:
Leopard Guides: 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
Date
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.
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.
2008-02-08
Attributed Strings Programming Guide (HTML) (PDF)
Explains how to use attributed strings, which manage attributes of character strings or individual characters.
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.
2009-05-06
Calendar Store Programming Guide (HTML) (PDF)
Explains how to access iCal data.
2007-10-31
Collections Programming Topics for Cocoa (HTML) (PDF)
Explains how to group objects in arrays, sets, or dictionaries in Cocoa.
2009-02-04
Core Data Model Versioning and Data Migration Programming Guide (HTML) (PDF)
Explains the managed object model versioning and data migration features of Core Data.
2008-02-08
Core Data Programming Guide (HTML) (PDF)
Explains how to manage objects using the Core Data framework.
2009-03-04
Core Data Snippets (HTML) (PDF)
Snippets of code that you can use when writing a program that uses Core Data.
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.
2009-03-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.
2007-08-07
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.
2008-10-15
Dates and Times Programming Topics for Cocoa (HTML) (PDF)
Explains how to manage Cocoa dates and times.
2007-09-04
Event-Driven XML Programming Guide for Cocoa (HTML) (PDF)
Explains how to process XML documents using the Cocoa streaming parser.
2008-09-09
Key-Value Coding Programming Guide (HTML) (PDF)
Conceptual information about how to access a Cocoa object's values using keys.
2009-02-04
Key-Value Observing Programming Guide (HTML) (PDF)
Explains the Cocoa key-value observing protocol.
2009-05-06
NSPersistentDocument Core Data Tutorial (HTML) (PDF)
Step-by-step instructions for building a simple but functionally rich application using NSPersistentDocument and Cocoa bindings.
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.
2009-02-04
Number and Value Programming Topics for Cocoa (HTML) (PDF)
Explains how to use Cocoa object wrappers for primitive C data types.
2008-02-08
Predicate Programming Guide (HTML) (PDF)
Describes how to specify queries in Cocoa.
2009-05-06
Property List Programming Guide (HTML) (PDF)
Explains how to use structured, textual representations of data in Cocoa.
2008-11-19
Search Kit Programming Guide (HTML) (PDF)
Describes Search Kit architecture and workflow, and how to add search capabilities to Carbon and Cocoa applications.
2005-12-06
Sort Descriptor Programming Topics (HTML) (PDF)
Explains how to use sort descriptors to specify the sorting of collections.
2007-07-10
Stream Programming Guide for Cocoa (HTML) (PDF)
Explains how to use the Cocoa stream classes to read data from and write data to streams.
2009-05-06
String Programming Guide for Cocoa (HTML) (PDF)
Explains how to create, search, concatenate, and draw strings in Cocoa.
2008-10-15
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.
2009-02-04
Undo Architecture (HTML) (PDF)
Explains how to record information in Cocoa so a user can reverse an operation's effect.
2002-11-12
User Defaults Programming Topics for Cocoa (HTML) (PDF)
Explains how to use the Cocoa defaults system to create and save user preferences.
2007-10-31
Value Transformer Programming Guide (HTML) (PDF)
Explains how to create and use value transformers, which are used with the Controller Layer.
2007-04-06
Xcode Tools for Core Data (HTML) (PDF)
Describes the Xcode modeling tools for Core Data.
2008-04-15