Jump To:
Leopard Reference Library
Core Foundation is a framework that provides fundamental software services. Developers can use Core Foundation to build cross-platform applications and can share code and data among frameworks, libraries, and applications. Core Foundation provides abstractions for common data types, facilitates internationalization through Unicode string storage, and offers a suite of utilities.

A guided introduction and learning path for developers new to Core Foundation.   Essential information for developers using the Core Foundation framework.   C API references organized by framework.
Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Topic
Sort by
Resource Type
Sort by
Date
Accessing HTTPS Proxy Settings (HTML) (日本語 HTML)
QA1234: Describes how to programatically access Secure Web Proxy information.
Networking Technical Q&As 2003-02-19
Advertising a Bonjour service on a specific set of networking interfaces. (HTML)
QA1513: Explains how to register a Bonjour service only on a specific set of networking interfaces.
Networking Technical Q&As 2007-02-12
Attributed Strings Programming Guide (HTML) (PDF)
Explains how to use attributed strings, which manage attributes of character strings or individual characters.
Data Management, Text & Fonts Guides 2007-06-04
Base Utilities Reference (HTML) (PDF)
Describes basic Core Foundation functions.
General Reference 2007-01-15
Binary Data Programming Guide for Core Foundation (HTML) (PDF)
Explains how to create and use Core Foundation data objects, object-oriented wrappers for byte buffers.
Data Management Guides 2006-01-10
Bonjour enforces the TXT record format in Panther (HTML)
QA1306: Explains how mDNSResponder enforces the proper TXT record format in Panther.
Networking Technical Q&As 2004-07-14
Bonjour Printer Subtype for HTTP (HTML)
QA1555: Describes how printer vendors can register their bonjour service such that Safari can see them.
Networking Technical Q&As 2008-03-25
BSDLLCTest (HTML) (DMG) (ZIP)
Program sample demonstrates how to send and receive raw LLC Ethernet packets.
Events & Other Input, Networking Sample Code 2003-06-12
Bundle Programming Guide (HTML) (PDF)
Explains how to use Core Foundation bundle objects to organize resources.
Resource Management Guides 2005-11-09
Byte-Order Utilities Reference (HTML) (PDF)
Describes Core Foundation byte-order functions.
Data Management Reference 2006-05-23
CFAllocator Reference (HTML) (PDF)
Describes an object for managing memory allocation.
General Reference 2006-12-08
CFArray Reference (HTML) (PDF)
Describes an immutable ordered collection.
General Reference 2007-05-22
CFAttributedString Reference (HTML) (PDF)
Describes an immutable character string and its associated attributes.
Data Management, Text & Fonts Reference 2009-05-06
CFBag Reference (HTML) (PDF)
Describes an immutable unordered collection that may contain duplicate values.
General Reference 2007-05-22
CFBinaryHeap Reference (HTML) (PDF)
Describes a collection sorted using a binary search algorithm.
General Reference 2006-01-10
CFBitVector Reference (HTML) (PDF)
Describes an immutable ordered collection containing bit values.
General Reference 2005-12-06
CFBoolean Reference (HTML) (PDF)
Describes a Boolean value.
General Reference 2005-12-06
CFBundle Reference (HTML) (PDF)
Describes a representation of a resource directory hierarchy.
General Reference 2007-10-18
CFBundleIdentifier and user application access (HTML)
QA1373: Describes the role of CFBundleIdentifier in limiting a user's application access.
Design Guidelines Technical Q&As 2005-02-08
CFCalendar Reference (HTML) (PDF)
Describes a calendar.
Internationalization Reference 2009-02-04
CFCharacterSet Reference (HTML) (PDF)
Describes an immutable character string.
General Reference 2006-12-01
CFData Reference (HTML) (PDF)
Describes an immutable byte buffer.
General Reference 2006-02-07
CFDate Reference (HTML) (PDF)
Describes a date and time.
General Reference 2005-12-06
CFDateFormatter Reference (HTML) (PDF)
Describes a date and time formatter.
General Reference 2007-05-23
CFDictionary Reference (HTML) (PDF)
Describes an immutable collection of key-value pairs.
General Reference 2007-10-31
CFError Reference (HTML) (PDF)
Describes a representation of a runtime error.
Events & Other Input Reference 2006-07-12
CFFileDescriptor Reference (HTML) (PDF)
Describes an object for monitoring file descriptors for read and write activity.
File Management Reference 2007-05-23
CFFTPSample (HTML) (DMG) (ZIP)
A simple example showing how to use CFFTPStream to download and upload files.
Networking Sample Code 2006-10-13
CFFTPStream Reference (HTML) (PDF)
Describes the C API for communicating with FTP servers.
Networking Reference 2008-07-11
CFHost Reference (HTML) (PDF)
Describes the C API for acquiring host information.
Networking Reference 2008-07-11
CFHostSample (HTML) (DMG) (ZIP)
Uses the CFHost API to do DNS hostname lookups and to determine host reachability.
Networking Sample Code 2004-04-20
CFHTTPAuthentication Reference (HTML) (PDF)
Describes the C API for applying authentication credentials to HTTP messages.
Networking Reference 2007-05-15
CFHTTPMessage Reference (HTML) (PDF)
Describes the C API for creating, sending, receiving and manipulating HTTP messages.
Networking Reference 2008-07-11
CFHTTPStream Reference (HTML) (PDF)
Describes the interface for working with HTTP connections.
Networking Reference 2008-07-08
CFLocale Reference (HTML) (PDF)
Describes a representation of a locale.
General Reference 2007-05-23
CFLocalServer (HTML) (DMG) (ZIP)
Uses UNIX domain sockets to communicate between client and server programs on the same machine.
Networking, Process Management Sample Code 2005-07-26
CFMachPort Reference (HTML) (PDF)
Describes a wrapper for a native mach port.
General Reference 2008-04-08
CFMessagePort Reference (HTML) (PDF)
Describes a communications channel that can locally transmit data between threads or processes.
General Reference 2007-03-20
CFMutableArray Reference (HTML) (PDF)
Describes an immutable ordered collection.
General Reference 2005-12-06
CFMutableAttributedString Reference (HTML) (PDF)
Describes a mutable character string and associated set of attributes.
Data Management, Text & Fonts Reference 2009-05-06
CFMutableBag Reference (HTML) (PDF)
Describes a mutable unordered collection that may contain duplicate values.
General Reference 2005-12-06
CFMutableBitVector Reference (HTML) (PDF)
Describes a mutable ordered collection containing bit values.
General Reference 2006-02-07
CFMutableCharacterSet Reference (HTML) (PDF)
Describes a mutable set of Unicode characters.
General Reference 2005-12-06
CFMutableData Reference (HTML) (PDF)
Describes a mutable byte buffer.
General Reference 2007-03-07
CFMutableDictionary Reference (HTML) (PDF)
Describes a mutable collection of key-value pairs.
General Reference 2005-12-06
CFMutableSet Reference (HTML) (PDF)
Describes a mutable unordered collection of distinct values.
General Reference 2005-12-06
CFMutableString Reference (HTML) (PDF)
Describes a mutable character string.
General Reference 2008-10-15
CFNetDiagnostics Reference (HTML) (PDF)
Describes the C API for diagnosing and fixing network related problems.
Networking Reference 2008-07-11
CFNetServices Reference (HTML) (PDF)
Describes the C API for implementing Bonjour functionality in an application.
Networking Reference 2008-07-08
CFNetwork Error Codes Reference (HTML) (PDF)
Describes error codes used by the CFNetwork API.
Networking Reference 2008-10-15
CFNetwork Framework Release Notes (HTML)
Networking Release Notes 2007-10-31
CFNetwork Programming Guide (HTML) (PDF)
Explains how to use Core Foundation networking functions to work with low-level BSD sockets.
Networking Guides 2009-05-06
CFNetwork Reference Collection (HTML) (PDF)
Describes the C APIs for performing a variety network tasks.
Networking Reference 2008-07-15
CFNetworkHTTPDownload (HTML) (DMG) (ZIP)
Demonstrates how to download a URL using CFNetworking.
Networking Sample Code 2006-01-18
CFNotificationCenter Reference (HTML) (PDF)
Describes an object that sends notifications to registered observers.
General Reference 2007-01-22
CFNull Reference (HTML) (PDF)
Describes an object that represents null.
General Reference 2005-12-06
CFNumber Reference (HTML) (PDF)
Describes a number.
General Reference 2006-12-01
CFNumberFormatter Reference (HTML) (PDF)
Describes a number formatter.
General Reference 2007-05-23
CFPlugIn Reference (HTML) (PDF)
Describes a plug-in.
General Reference 2006-02-07
CFPlugInInstance Reference (HTML) (PDF)
Describes a deprecated technology replaced by the CFPlugin opaque type.
General Reference 2005-12-06
CFPreferences (HTML) (DMG) (ZIP)
Shows how to use the CFPreferences APIs to access user preferences.
Data Management, Design Guidelines, Resource Management Sample Code 2003-01-14
CFPrefsDumper (HTML) (DMG) (ZIP)
Shows how to use the CFPreferences APIs to access information about the current user preferences.
Data Management, Design Guidelines, Resource Management Sample Code 2003-01-14
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
Data Management, Design Guidelines, File Management, Resource Management Sample Code 2006-10-09
CFPropertyList Reference (HTML) (PDF)
Describes a runtime representation of a property list.
General Reference 2006-02-07
CFProxySupport Reference (HTML) (PDF)
Describes the CFProxySupport API, which provides functions for managing network proxy information.
Networking Reference 2008-07-07
CFProxySupportTool (HTML) (DMG) (ZIP)
Shows how to use the CFProxySupport APIs to decide whether a network connection should pass through a proxy.
Networking Sample Code 2007-10-29
CFReadStream Reference (HTML) (PDF)
Describes an interface for reading a byte stream.
General Reference 2007-05-03
CFRunLoop Reference (HTML) (PDF)
Describes an object that manages input sources for a task.
General Reference 2006-12-08
CFRunLoopObserver Reference (HTML) (PDF)
Describes a means to receive callbacks at specific points during a run loop's execution.
General Reference 2006-02-07
CFRunLoopSource Reference (HTML) (PDF)
Describes the source for a run loop.
General Reference 2006-02-07
CFRunLoopTimer Reference (HTML) (PDF)
Describes a timer associated with a run loop.
General Reference 2006-02-07
CFSet Reference (HTML) (PDF)
Describes an immutable unordered collection of distinct values.
General Reference 2005-12-06
CFSocket Reference (HTML) (PDF)
Describes a network communications channel.
General Reference 2008-10-15
CFStream Reference (HTML) (PDF)
Describes the interface for creating streams.
Networking Reference 2007-05-03
CFStream Socket Additions (HTML) (PDF)
Describes the C API for using streams with sockets.
Networking Reference 2008-07-08
CFString Reference (HTML) (PDF)
Describes an immutable character string.
General Reference 2008-10-15
CFStringTokenizer Reference (HTML) (PDF)
Describes an opaque type for breaking a string into tokens.
Data Management, Internationalization, Text & Fonts Reference 2009-01-06
CFTimeZone Reference (HTML) (PDF)
Describes a representation of a time zone.
General Reference 2008-10-15
CFTree Reference (HTML) (PDF)
Describes a tree structure.
General Reference 2005-12-06
CFType Reference (HTML) (PDF)
Describes the Core Foundation base type.
General Reference 2007-07-12
CFURL Reference (HTML) (PDF)
Describes a string that uniquely identifies a resource.
General Reference 2009-02-04
CFUserNotification Reference (HTML) (PDF)
Describes a notification.
General Reference 2006-02-07
CFUUID Reference (HTML) (PDF)
Describes a unique identifier.
General Reference 2007-01-15
CFWriteStream Reference (HTML) (PDF)
Describes an interface for writing a byte stream.
General Reference 2007-05-03
CFXML to CFPropertyListRef (and back!) (HTML) (日本語 HTML)
QA1208: Describes to how save and restore a CFPropertyListRef to and from an XML file.
Data Management, Events & Other Input, Resource Management, Text & Fonts Technical Q&As 2003-08-29
CFXMLNode Reference (HTML) (PDF)
Describes the opaque type for representing an individual XML construct.
General Reference 2006-02-07
CFXMLParser Reference (HTML) (PDF)
Describes an object for finding and extracting data in XML documents.
General Reference 2008-10-15
CFXMLTree Reference (HTML) (PDF)
Describes an XML document as a tree structure.
General Reference 2008-10-15
Changing the TCP Window Size (HTML)
NW47: Describes how to change the TCP window size in Open Transport.
Networking, Performance Technical Q&As 1997-03-14
CheckExecutableArchitecture (HTML) (DMG) (ZIP)
Determine whether a particular Mach-O executable contains a version suitable for executing on a given processor architecture.
File Management, Resource Management Sample Code 2006-02-07
The "chosen" node in the device tree (HTML)
HW88: Describes how to find the "chosen" node in the Open firmware device tree.
Networking Technical Q&As 2000-09-05
Code Speed Performance Guidelines (HTML) (PDF)
Guidelines for improving the performance and efficiency of code.
Performance Guides 2005-07-07
Collections Programming Topics for Core Foundation (HTML) (PDF)
Explains how to group objects in arrays, sets, or dictionaries in Core Foundation.
Data Management Guides 2003-08-07
Converting to Precomposed Unicode (HTML) (日本語 HTML)
QA1235: Describes how to convert a string to precomposed Unicode.
Text & Fonts Technical Q&As 2003-02-07
Core Animation properties and Reference Counting (HTML)
QA1565: Describes a discrepancy between the property declarations in Core Animation and the actual behavior.
Resource Management Technical Q&As 2008-11-24
Core Foundation Design Concepts (HTML) (PDF)
Explains the fundamental design concepts that underlie all Core Foundation programming interfaces.
Design Guidelines Guides 2005-08-11
Core Foundation Framework Reference (HTML) (PDF)
Describes the Core Foundation API.
General Reference 2007-10-31
Core Foundation Reference Update (HTML) (PDF)
Summarizes the symbols added to the Core Foundation framework.
General Release Notes 2007-07-18
Core Foundation URL Access Utilities Reference (HTML) (PDF)
Describes Core Foundation URL access functions.
General Reference 2007-01-19
Core Services Identity Reference (HTML)
Describes the C API for creating, maintaining and finding users and groups.
Networking Reference 2008-04-08