Core Foundation Collection Services

Beta documentation : This document has not received a full technical review and therefore might contain inaccuracies.

You often need your program to hold onto data it encounters so that later it can use the data or pass it around to other clients. When your code (or some client code) needs that piece of stored data, it locates and retrieves the data using a well-understood scheme. The objects provided by Core Foundation Collection Services--collection objects--help you store, organize, and retrieve data of virtually all types.

In addition to organizing data for quick and accurate retrieval, collection objects bring several benefits to programming:

Collection Services defines several types of collection objects:

In addition, Collection Services includes data objects of the opaque type CFData. Although data objects are not true collections, they do hold arbitrary "collections" of bytes and are thus useful for storing binary data. They are also one of the property-list object types.

Headers :

  • CFArray.h
  • CFDictionary.h
  • CFSet.h
  • CFBag.h
  • CFTree.h
  • CFData.h
  • Core Foundation Collection Services Concepts

    Core Foundation Collection Services Tasks


    © 1999 Apple Computer, Inc. – (Last Updated 07 September 99)