Introduction to Binary Data Programming Guide for Cocoa

Binary data can be wrapped inside of Foundation and Core Foundation data objects which provides object-oriented behaviors for manipulating the data. Because data objects are bridged objects, you can use the Foundation and Core Foundation data objects interchangeably. Data objects can manage the allocation and deallocation of byte buffers automatically. Among other things, data objects can be stored in collections, written to property lists, saved to files, and transmitted over communication ports.

Organization of This Document

The following article explains how data objects work:

The following articles cover common tasks: