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
NSMutableAttributedString Additions Reference (HTML) (PDF)
Describes additions for setting attributes of mutable attributed strings.
Reference 2006-05-23
NSMutableAttributedString Class Reference (HTML) (PDF)
Describes a mutable character string with attributes.
Reference 2006-06-28
NSMutableCharacterSet Class Reference (HTML) (PDF)
Describes a mutable set of characters.
Reference 2006-05-23
NSMutableData Class Reference (HTML) (PDF)
Describes a mutable byte buffer.
Reference 2007-03-26
NSMutableDictionary Class Reference (HTML) (PDF)
Describes a changeable collection of values that are identified by keys.
Reference 2007-02-23
NSMutableIndexSet Class Reference (HTML) (PDF)
Describes a mutable collection of unique unsigned integers.
Reference 2006-05-23
NSMutableParagraphStyle Class Reference (HTML) (PDF)
Describes a mutable paragraph style.
Reference 2008-10-15
NSMutableSet Class Reference (HTML) (PDF)
Describes a mutable unordered collection of distinct elements.
Reference 2006-09-19
NSMutableString Class Reference (HTML) (PDF)
Describes a mutable character string.
Reference 2007-03-06
NSNull Class Reference (HTML) (PDF)
Describes an object that represents null.
Reference 2006-05-23
NSNumber Class Reference (HTML) (PDF)
Describes a number.
Reference 2008-02-08
NSNumberFormatter Class Reference (HTML) (PDF)
Describes a number formatter.
Reference 2008-11-19
NSObjCTypeSerializationCallBack Protocol Reference (HTML) (PDF)
Describes a deprecated technology.
Reference 2006-05-23
NSObjectController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of an object.
Reference 2007-12-11
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
NSOutputStream Class Reference (HTML) (PDF)
Describes a write-only data stream.
Reference 2009-01-06
NSPersistentDocument Class Reference (HTML) (PDF)
Describes a document that integrates with the Core Data framework.
Reference 2008-02-08
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
NSPersistentStore Class Reference (HTML) (PDF)
New document that describes the abstract Core Data class that represents a persistent store.
Reference 2007-07-22
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
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
NSPointerArray Class Reference (HTML) (PDF)
Describes an ordered collection of pointers.
Reference 2009-03-04
NSPointerFunctions Class Reference (HTML) (PDF)
Describes callout functions for managing a pointer reference held somewhere else.
Reference 2008-10-15
NSPredicate Class Reference (HTML) (PDF)
Describes a representation of logical conditions.
Reference 2006-08-16
NSPredicateEditor Class Reference (HTML) (PDF)
Describes a graphical predicate editor.
Reference 2008-10-15
NSPredicateEditorRowTemplate Class Reference (HTML) (PDF)
Describes a row in a graphical predicate editor.
Reference 2007-01-12
NSPropertyListSerialization Class Reference (HTML) (PDF)
Describes the class used to convert property list objects to and from several serialized formats.
Reference 2008-06-09
NSPropertyMapping Class Reference (HTML) (PDF)
Describes a mapping of a property in a Core Data migration.
Reference 2007-05-22
NSScanner Class Reference (HTML) (PDF)
Describes an object that scans values from a string.
Reference 2008-10-15
NSSerializer Class Reference (HTML) (PDF)
Describes a deprecated technology replaced by the NSPropertyListSerialization class.
Reference 2006-05-23
NSSet Class Reference (HTML) (PDF)
Describes an immutable unordered collection of distinct elements.
Reference 2008-10-15
NSSortDescriptor Class Reference (HTML) (PDF)
Describes the rules for a sorting operation.
Reference 2007-10-31
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
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
NSTimeZone Class Reference (HTML) (PDF)
Describes a time zone.
Reference 2008-02-08
NSTreeController Class Reference (HTML) (PDF)
Describes the class that is used with Cocoa bindings to manage a tree of objects.
Reference 2007-04-10
NSTreeNode Class Reference (HTML) (PDF)
Describes a tree node in an object model.
Reference 2006-07-13
NSUnarchiver Class Reference (HTML) (PDF)
Describes an object that extracts the contents of an archive created by NSArchiver.
Reference 2006-05-23
NSUndoManager Class Reference (HTML) (PDF)
Describes a general-purpose recorder of undo and redo operations.
Reference 2007-01-18
NSUserDefaults Class Reference (HTML) (PDF)
Describes an object for managing preference information.
Reference 2009-04-08
NSUserDefaultsController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager for user preferences.
Reference 2006-05-23
NSValue Class Reference (HTML) (PDF)
Describes a container for a single C or Objective-C data item.
Reference 2007-10-31
NSValueTransformer Class Reference (HTML) (PDF)
Describes a Cocoa-bindings compatible interface for transforming value representations.
Reference 2007-07-24
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
NSXMLParser Class Reference (HTML) (PDF)
Describes an object for finding and extracting data in XML documents.
Reference 2007-02-02
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
People (HTML) (DMG) (ZIP)
This program demonstrates the use of the SyncServices framework.
Sample Code 2005-06-01
PhotoSearch (HTML) (DMG) (ZIP)
Demonstrates advanced controls and cells. Custom drawing, hit testing, tracking, editing, expansion tooltips, tracking areas.
Sample Code 2008-03-05
Predicate Programming Guide (HTML) (PDF)
Describes how to specify queries in Cocoa.
Guides 2009-05-06
PrefsPane (HTML) (DMG) (ZIP)
A Cocoa sample System Preferences bundle that demonstrates how to use the NSPreferencePane class.
Sample Code 2007-06-06
Property List Programming Guide (HTML) (PDF)
Explains how to use structured, textual representations of data in Cocoa.
Guides 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.
Guides 2005-12-06
Search Kit Reference (HTML) (PDF)
Describes the interface for supporting user searches of textual content.
Reference 2009-05-06
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Technical Q&As 2001-10-25
Simple Bindings Adoption (HTML) (DMG) (ZIP)
A simple example that illustrates the adoption of Cocoa Bindings.
Sample Code 2007-06-07
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
Sort Descriptor Programming Topics (HTML) (PDF)
Explains how to use sort descriptors to specify the sorting of collections.
Guides 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.
Guides 2009-05-06
String Programming Guide for Cocoa (HTML) (PDF)
Explains how to create, search, concatenate, and draw strings in Cocoa.
Guides 2008-10-15
Sync Services Release Notes (10.4) (HTML)
Release Notes 2005-04-29
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
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
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
TwoManyControllers (HTML) (DMG) (ZIP)
How to use an intermediate NSArrayController to populate an NSTableView across two to-many relationships.
Sample Code 2007-02-23
Undo Architecture (HTML) (PDF)
Explains how to record information in Cocoa so a user can reverse an operation's effect.
Guides 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.
Guides 2007-10-31
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
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
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
Xcode Tools for Core Data (HTML) (PDF)
Describes the Xcode modeling tools for Core Data.
Guides 2008-04-15