Member Login Log In | Not a Member? Contact ADC
Jump To:
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

Sort by
Title
Sorted by
Topic
Sort by
Resource Type
Sort by
Date
Attributed Strings Programming Guide (HTML) (PDF)
Explains how to use attributed strings, which manage attributes of character strings or individual characters.
Data Management Guides 2007-06-04
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
Byte-Order Utilities Reference (HTML) (PDF)
Describes Core Foundation byte-order functions.
Data Management Reference 2006-05-23
CFAttributedString Reference (HTML) (PDF)
Describes the opaque type for representing an immutable character string and associated set of attributes.
Data Management Reference 2005-12-06
CFMutableAttributedString Reference (HTML) (PDF)
Describes the opaque type for representing a mutable character string and associated set of attributes.
Data Management Reference 2005-12-06
CFPreferences (HTML) (DMG) (ZIP)
Shows how to use the CFPreferences APIs to access user preferences.
Data 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 Sample Code 2003-01-14
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
Data Management Sample Code 2006-10-09
CFStringTokenizer Reference (HTML) (PDF)
Describes the opaque typed used to break a string into tokens (sub-strings) on the basis of words, sentences, or paragraphs.
Data Management Reference 2007-10-31
CFXML to CFPropertyListRef (and back!) (HTML) (日本語 HTML)
QA1208: Describes to how save and restore a CFPropertyListRef to and from an XML file.
Data Management Technical Q&As 2003-08-29
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
Data Formatting Guide for Core Foundation (HTML) (PDF)
Explains how to use Core Foundation formatters to create and validate text in text fields and other cells.
Data Management Guides 2006-12-21
Dates and Times Programming Guide for Core Foundation (HTML) (PDF)
Explains how to manage Core Foundation dates and times.
Data Management Guides 2005-08-11
IdentitySample (HTML) (DMG) (ZIP)
IdentitySample builds a utility which demonstrates how to use the CoreServices Identity API to manage system-wide identities
Data Management Sample Code 2006-07-27
ManagedObjectDataFormatter (HTML) (DMG) (ZIP)
A Data Formatter for Xcode 2.0 and 2.1 that displays NSManagedObject * variables.
Data Management Sample Code 2005-06-01
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
Data Management Sample Code 2003-10-27
Preferences Programming Topics for Core Foundation (HTML) (PDF)
Explains how to manage Core Foundation user preferences.
Data Management Guides 2006-10-03
Programmatically Performing an Open Directory Search (HTML)
QA1462: A short guide on how to programmatically search Open Directory for matching attribute values within records.
Data Management Technical Q&As 2006-09-11
Property List Programming Topics for Core Foundation (HTML) (PDF)
Explains how to use structured, textual representations of data in Core Foundation.
Data Management Guides 2006-02-07
RecentItems (HTML) (DMG) (ZIP)
Implements "Recent items" menu(s)
Data Management Sample Code 2006-10-09
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Data Management Technical Q&As 2001-10-25
Strings Programming Guide for Core Foundation (HTML) (PDF)
Explains how to create, manipulate, and search strings in Core Foundation, and how strings interact with encodings and character sets.
Data Management Guides 2008-03-11
XML Programming Topics for Core Foundation (HTML) (PDF)
Explains how to parse XML documents into structured objects.
Data Management Guides 2006-10-03
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
CFPreferences (HTML) (DMG) (ZIP)
Shows how to use the CFPreferences APIs to access user preferences.
Design Guidelines Sample Code 2003-01-14
CFPrefsDumper (HTML) (DMG) (ZIP)
Shows how to use the CFPreferences APIs to access information about the current user preferences.
Design Guidelines Sample Code 2003-01-14
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
Design Guidelines Sample Code 2006-10-09
Core Foundation Design Concepts (HTML) (PDF)
Explains the fundamental design concepts that underlie all Core Foundation programming interfaces.
Design Guidelines Guides 2005-08-11
CoreFoundation Framework Release Notes (HTML)
Design Guidelines Release Notes 2007-10-31
Creating Cross-Platform Applications with Core Foundation and Open Source (HTML)
Learn how to import and export data types across a range of platforms using CF-Lite.
Design Guidelines Articles 2005-04-11
Designing Network-Friendly Applications (HTML)
Learn to make your application management-aware and reliably accessible on a network.
Design Guidelines Articles 2005-10-24
Locales Programming Guide (HTML) (PDF)
Explains how to use locales to retrieve, interpret, and display localized information in Core Foundation.
Design Guidelines Guides 2008-07-11
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Design Guidelines Technical Q&As 2001-10-25
Spotlight Overview (HTML) (PDF)
Introduces the main components and services of Apple's metadata technology.
Design Guidelines Guides 2007-05-27
Xcode Unit Testing Guide (HTML) (PDF)
Explains how to incorporate unit tests into your development process using Xcode.
Design Guidelines Guides 2008-05-02
BSDLLCTest (HTML) (DMG) (ZIP)
Program sample demonstrates how to send and receive raw LLC Ethernet packets.
Events & Other Input Sample Code 2003-06-12
CFError Reference (HTML) (PDF)
Describes the opaque type used to represent error information in Core Foundation.
Events & Other Input Reference 2006-07-12
CFXML to CFPropertyListRef (and back!) (HTML) (日本語 HTML)
QA1208: Describes to how save and restore a CFPropertyListRef to and from an XML file.
Events & Other Input Technical Q&As 2003-08-29
EventMonitorTest (HTML) (DMG) (ZIP)
Receive notification of all keyboard, mouse, and tablet events passed to other processes.
Events & Other Input Sample Code 2005-11-09
Frequently Asked Text Services Manager (TSM) Questions (HTML)
TN2128: Regroups a collection of Text Services Manager (TSM) questions frequently asked by Input Method Developers
Events & Other Input Technical Notes 2005-06-24
Power Management; Policy Maker vs. Power Controller (HTML) (日本語 HTML)
QA1121: Describes the differences between a Power Management Policy Maker and a Power Management Power Controller.
Events & Other Input Technical Q&As 2002-02-13
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Events & Other Input Technical Q&As 2008-01-23
Run Loops (HTML) (PDF)
Explains how Core Foundation run loops process input.
Events & Other Input Guides 2003-01-17
Using Secure Event Input Fairly (HTML)
TN2150: Describes the proper use of EnableSecureEventInput.
Events & Other Input Technical Notes 2007-06-08
Watcher (HTML) (DMG) (ZIP)
Uses FSEvents to monitor a directory hierarchy to keep track of its total size
Events & Other Input Sample Code 2006-08-04
CFFileDescriptor Reference (HTML) (PDF)
CFFileDescriptor provides an opaque type to monitor file descriptors for read and write activity via CFRunLoop.
File Management Reference 2007-05-23
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
File Management Sample Code 2006-10-09
CheckExecutableArchitecture (HTML) (DMG) (ZIP)
Determine whether a particular Mach-O executable contains a version suitable for executing on a given processor architecture.
File Management Sample Code 2006-02-07
DisplayURL (HTML) (DMG) (ZIP)
Parses a passed in path URL into its various components displaying server information.
File Management Sample Code 2005-10-04
Expanding Tilde-based paths (HTML)
QA1549: Demonstrates how to resolve tilde-based relevant paths.
File Management Technical Q&As 2007-09-24
File System Events Programming Guide (HTML) (PDF)
Explains how applications can detect changes in the file system.
File Management Guides 2008-03-11
FileNotification (HTML) (DMG) (ZIP)
kqueue file notification introduced in 10.3. Notification API to detect file system modifications.
File Management Sample Code 2005-10-27
filesystem_examples (HTML) (DMG) (ZIP)
Collection of command line tools illustrating filesystem features.
File Management Sample Code 2006-01-10
FSCopyObject (HTML) (DMG) (ZIP)
Copy engine for copying files and directories.
File Management Sample Code 2004-03-19
FSEvents Reference (HTML)
Describes the API used to provide lightweight notification of directory changes in a file-system subtree.
File Management Reference 2008-04-08
FSMegaInfo (HTML) (DMG) (ZIP)
Prints information about various file system objects; helpful when debugging VFS plug-ins.
File Management Sample Code 2008-02-25
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
File Management Sample Code 2003-10-27
Spotlight (HTML) (DMG) (ZIP)
Sample code that shows how to write Spotlight Importers.
File Management Sample Code 2005-06-01
Spotlight Importer Programming Guide (HTML) (PDF)
Describes the role of metadata importers and how to write them.
File Management Guides 2007-05-27
Spotlight Metadata Attributes Reference (HTML) (PDF)
Describes the usage and types of metadata attributes for various file types used with Spotlight.
File Management Reference 2007-05-22
Spotlight Query Programming Guide (HTML) (PDF)
Describes how to add Spotlight searching to your applications.
File Management Guides 2006-03-08
Tiger Develop Overview Series: Working with Spotlight (HTML)
Learn to make the most of Spotlight's powerful search technologies within your own applications.
File Management Articles 2004-10-07
Watcher (HTML) (DMG) (ZIP)
Uses FSEvents to monitor a directory hierarchy to keep track of its total size
File Management Sample Code 2006-08-04
Base Utilities Reference (HTML) (PDF)
Describes basic Core Foundation functions.
General Reference 2007-01-15
CFAllocator Reference (HTML) (PDF)
Describes the opaque type for allocating and deallocating memory.
General Reference 2006-12-08
CFArray Reference (HTML) (PDF)
Describes the opaque for managing an immutable ordered collection of values.
General Reference 2007-05-22
CFBag Reference (HTML) (PDF)
Describes the opaque type for managing an immutable unordered collection of values that may contain duplicates.
General Reference 2007-05-22
CFBinaryHeap Reference (HTML) (PDF)
Describes the opaque type for managing a collection of values sorted using a binary search algorithm.
General Reference 2006-01-10
CFBitVector Reference (HTML) (PDF)
Describes the opaque type for managing an immutable ordered collection of bit values.
General Reference 2005-12-06
CFBoolean Reference (HTML) (PDF)
Describes the opaque type for representing a Boolean value.
General Reference 2005-12-06
CFBundle Reference (HTML) (PDF)
Describes the opaque type for representing a resource directory hierarchy.
General Reference 2007-10-18
CFCharacterSet Reference (HTML) (PDF)
Describes the opaque type for representing an immutable set of Unicode characters.
General Reference 2006-12-01
CFData Reference (HTML) (PDF)
Describes the opaque type for representing an immutable byte buffer.
General Reference 2006-02-07
CFDate Reference (HTML) (PDF)
Describes the opaque type for representing dates and times.
General Reference 2005-12-06
CFDateFormatter Reference (HTML) (PDF)
Describes the opaque type for describing the textual representation of dates and times.
General Reference 2007-05-23
CFDictionary Reference (HTML) (PDF)
Describes the opaque type for managing an immutable collection of key-value pairs.
General Reference 2007-10-31
CFLocale Reference (HTML) (PDF)
Describes the opaque type for representing a locale.
General Reference 2007-05-23
CFMachPort Reference (HTML) (PDF)
Describes the opaque type for representing a native Mach port.
General Reference 2008-04-08
CFMessagePort Reference (HTML) (PDF)
Describes the CFMessagePort opaque type.
General Reference 2007-03-20
CFMutableArray Reference (HTML) (PDF)
Describes the opaque for managing an immutable ordered collection of values.
General Reference 2005-12-06
CFMutableBag Reference (HTML) (PDF)
Describes the opaque type for managing a mutable unordered collection of values that may contain duplicates.
General Reference 2005-12-06
CFMutableBitVector Reference (HTML) (PDF)
Describes the opaque type for managing a mutable ordered collection of bit values.
General Reference 2006-02-07
CFMutableCharacterSet Reference (HTML) (PDF)
Describes the opaque type for representing a mutable set of Unicode characters.
General Reference 2005-12-06
CFMutableData Reference (HTML) (PDF)
Describes the opaque type for representing a mutable byte buffer.
General Reference 2007-03-07
CFMutableDictionary Reference (HTML) (PDF)
Describes the opaque type for managing a mutable collection of key-value pairs.
General Reference 2005-12-06
CFMutableSet Reference (HTML) (PDF)
Describes the opaque type for managing a mutable unordered collection of distinct values.
General Reference 2005-12-06
CFMutableString Reference (HTML) (PDF)
Describes the opaque type for representing a mutable character string.
General Reference 2006-11-30
CFNotificationCenter Reference (HTML) (PDF)
Describes the opaque type for sending notifications to registered observers.
General Reference 2007-01-22
CFNull Reference (HTML) (PDF)
Describes the opaque type for representing a null value.
General Reference 2005-12-06
CFNumber Reference (HTML) (PDF)
Describes the opaque type for representing numbers.
General Reference 2006-12-01
CFNumberFormatter Reference (HTML) (PDF)
Describes the opaque type for describing the textual representation of numbers.
General Reference 2007-05-23
CFPlugIn Reference (HTML) (PDF)
Describes the CFPlugIn opaque type.
General Reference 2006-02-07
CFPlugInInstance Reference (HTML) (PDF)
Describes the opaque type for application extensions.
General Reference 2005-12-06
CFPropertyList Reference (HTML) (PDF)
Describes the CFPropertyList opaque type.
General Reference 2006-02-07
CFReadStream Reference (HTML) (PDF)
Describes the opaque type for reading a byte stream.
General Reference 2007-05-03
CFRunLoop Reference (HTML) (PDF)
Describes the opaque type used to manage input sources for a task.
General Reference 2006-12-08
CFRunLoopObserver Reference (HTML) (PDF)
Describes the CFRunLoopObserver opaque type.
General Reference 2006-02-07
CFRunLoopSource Reference (HTML) (PDF)
Describes the CFRunLoopSource opaque type.
General Reference 2006-02-07
CFRunLoopTimer Reference (HTML) (PDF)
Describes the CFRunLoopTimer opaque type.
General Reference 2006-02-07
CFSet Reference (HTML) (PDF)
Describes the opaque type for managing an immutable unordered collection of distinct values.
General Reference 2005-12-06