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
Sort by
Topic
Sort by
Resource Type
Sorted by
Date
Registering and unregistering for sleep and wake notifications (HTML)
QA1340: Explains how applications can register and unregister for sleep and wake notifications on Mac OS X.
Resource Management Technical Q&As 2008-08-08
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
CFHTTPMessage Reference (HTML) (PDF)
Describes the C API for creating, sending, receiving and manipulating HTTP messages.
Networking Reference 2008-07-11
CFNetDiagnostics Reference (HTML) (PDF)
Describes the C API for diagnosing and fixing network related problems.
Networking Reference 2008-07-11
CFURL Reference (HTML) (PDF)
Describes the opaque type for representing an URL.
General Reference 2008-07-11
Locales Programming Guide (HTML) (PDF)
Explains how to use locales to retrieve, interpret, and display localized information in Core Foundation.
Design Guidelines, Internationalization Guides 2008-07-11
CFHTTPStream Reference (HTML) (PDF)
Describes the CFStream functions for working with HTTP connections.
Networking Reference 2008-07-08
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-07-07
CFProxySupport Reference (HTML) (PDF)
Describes the CFProxySupport API, which provides functions for managing network proxy information.
Networking Reference 2008-07-07
Getting a Packet Trace (HTML) (日本語 HTML)
QA1176: Lists tools available for looking at the network packets on the wire.
Internet & Web, Networking Technical Q&As 2008-06-03
Xcode Unit Testing Guide (HTML) (PDF)
Explains how to incorporate unit tests into your development process using Xcode.
Design Guidelines Guides 2008-05-02
CFMachPort Reference (HTML) (PDF)
Describes the opaque type for representing a native Mach port.
General Reference 2008-04-08
Core Services Identity Reference (HTML)
Describes the C API for creating, maintaining and finding users and groups.
Networking Reference 2008-04-08
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
JavaScriptCore Framework Reference (HTML)
Describes the API for evaluating JavaScript programs from within a C-based program
Internet & Web Reference 2008-04-08
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
CFNetwork Programming Guide (HTML) (PDF)
Explains how to use Core Foundation networking functions to work with low-level BSD sockets.
Networking Guides 2008-03-11
CFString Reference (HTML) (PDF)
Describes the opaque type for representing an immutable character string.
General Reference 2008-03-11
File System Events Programming Guide (HTML) (PDF)
Explains how applications can detect changes in the file system.
File Management Guides 2008-03-11
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, Internationalization Guides 2008-03-11
FSMegaInfo (HTML) (DMG) (ZIP)
Prints information about various file system objects; helpful when debugging VFS plug-ins.
File Management Sample Code 2008-02-25
Threading Programming Guide (HTML) (PDF)
Explains how to use threads in Cocoa applications.
Performance, Process Management Guides 2008-02-08
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Events & Other Input, Process Management, Resource Management Technical Q&As 2008-01-23
Daemons and Agents (HTML)
TN2083: Describes the most common problems encountered with daemons and agents, and suggests detailed solutions.
Process Management Technical Notes 2007-11-05
CFDictionary Reference (HTML) (PDF)
Describes the opaque type for managing an immutable collection of key-value pairs.
General Reference 2007-10-31
CFNetwork Framework Release Notes (HTML)
Networking Release Notes 2007-10-31
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, Internationalization, Text & Fonts Reference 2007-10-31
Core Foundation Framework Reference (HTML) (PDF)
Describes the C API for the Core Foundation framework.
General Reference 2007-10-31
CoreFoundation Framework Release Notes (HTML)
Design Guidelines, Performance Release Notes 2007-10-31
Preferences Utilities Reference (HTML) (PDF)
Describes Core Foundation preferences functions.
General Reference 2007-10-31
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
CFBundle Reference (HTML) (PDF)
Describes the opaque type for representing a resource directory hierarchy.
General Reference 2007-10-18
Expanding Tilde-based paths (HTML)
QA1549: Demonstrates how to resolve tilde-based relevant paths.
File Management Technical Q&As 2007-09-24
Resource Programming Guide (HTML) (PDF)
Explains how to work with nib and bundle resources in Mac OS X applications.
Resource Management Guides 2007-09-04
Time Utilities Reference (HTML) (PDF)
Describes Core Foundation time functions.
General Reference 2007-08-23
Core Foundation Reference Update (HTML) (PDF)
Summarizes the symbols added to the Core Foundation framework.
General Reference 2007-07-18
CFType Reference (HTML) (PDF)
Describes the CFType opaque type.
General Reference 2007-07-12
Using Secure Event Input Fairly (HTML)
TN2150: Describes the proper use of EnableSecureEventInput.
Events & Other Input Technical Notes 2007-06-08
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
CoreTextArc (HTML) (DMG) (ZIP)
Illustrates the use of fonts, lines, and runs in a CoreText text drawing Carbon application.
Text & Fonts Sample Code 2007-06-04
Dictionary Services Programming Guide (HTML) (PDF)
Explains how to create a dictionary and access it programmatically.
Text & Fonts Guides 2007-05-30
Dictionary Services Reference (HTML) (PDF)
Describes the Objective-C and C routines that support programmatic access to dictionaries.
Text & Fonts Reference 2007-05-29
Spotlight Importer Programming Guide (HTML) (PDF)
Describes the role of metadata importers and how to write them.
File Management Guides 2007-05-27
Spotlight Overview (HTML) (PDF)
Introduces the main components and services of Apple's metadata technology.
Design Guidelines Guides 2007-05-27
CFDateFormatter Reference (HTML) (PDF)
Describes the opaque type for describing the textual representation of dates and times.
General Reference 2007-05-23
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
CFLocale Reference (HTML) (PDF)
Describes the opaque type for representing a locale.
General Reference 2007-05-23
CFNumberFormatter Reference (HTML) (PDF)
Describes the opaque type for describing the textual representation of numbers.
General Reference 2007-05-23
CFTimeZone Reference (HTML) (PDF)
Describes the opaque type used to represent time zones.
General Reference 2007-05-23
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
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
CFHTTPAuthentication Reference (HTML) (PDF)
Describes the C API for applying authentication credentials to HTTP messages.
Networking Reference 2007-05-15
Identity Services Programming Guide (HTML) (PDF)
Explains how identities work and how to use them in applications.
Networking Guides 2007-05-15
Identity Services Reference Collection (HTML) (PDF)
Describes the APIs for using identities and the Identity Picker.
Networking Reference 2007-05-14
CFReadStream Reference (HTML) (PDF)
Describes the opaque type for reading a byte stream.
General Reference 2007-05-03
CFStream Reference (HTML) (PDF)
Describes the C API for using streams.
Networking Reference 2007-05-03
CFWriteStream Reference (HTML) (PDF)
Describes the opaque type used for writing a byte stream.
General Reference 2007-05-03
Memory Management Programming Guide for Core Foundation (HTML) (PDF)
Explains how to allocate and deallocate objects in Core Foundation.
Resource Management Guides 2007-04-03
NSHost Class Reference (HTML) (PDF)
Describes the class used to get information about a network resource.
Networking Reference 2007-03-24
CFMessagePort Reference (HTML) (PDF)
Describes the CFMessagePort opaque type.
General Reference 2007-03-20
CFMutableData Reference (HTML) (PDF)
Describes the opaque type for representing a mutable byte buffer.
General Reference 2007-03-07
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
CFNotificationCenter Reference (HTML) (PDF)
Describes the opaque type for sending notifications to registered observers.
General Reference 2007-01-22
Core Foundation URL Access Utilities Reference (HTML) (PDF)
Describes Core Foundation URL access functions.
General Reference 2007-01-19
Base Utilities Reference (HTML) (PDF)
Describes basic Core Foundation functions.
General Reference 2007-01-15
CFUUID Reference (HTML) (PDF)
Describes the CFUUID opaque type.
General Reference 2007-01-15
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
CoreTextTest (HTML) (DMG) (ZIP)
Shows how to handle the CoreText objects to display text.
Text & Fonts Sample Code 2006-12-19
CFCalendar Reference (HTML) (PDF)
Describes the opaque type for representing a calendar.
Internationalization Reference 2006-12-11
CFAllocator Reference (HTML) (PDF)
Describes the opaque type for allocating and deallocating memory.
General Reference 2006-12-08
CFRunLoop Reference (HTML) (PDF)
Describes the opaque type used to manage input sources for a task.
General Reference 2006-12-08
CFCharacterSet Reference (HTML) (PDF)
Describes the opaque type for representing an immutable set of Unicode characters.
General Reference 2006-12-01
CFNumber Reference (HTML) (PDF)
Describes the opaque type for representing numbers.
General Reference 2006-12-01
CFMutableString Reference (HTML) (PDF)
Describes the opaque type for representing a mutable character string.
General Reference 2006-11-30
How can I identify the runtime environment, Carbon or Cocoa, of the current application? (HTML)
QA1372: Identifies the runtime environment of the application. Useful only for plugins, frameworks, input methods, etc.
Process Management Technical Q&As 2006-11-07
Socket Name Server Utilities Reference (HTML) (PDF)
Describes Core Foundation socket name functions.
General Reference 2006-10-27
CFFTPSample (HTML) (DMG) (ZIP)
A simple example showing how to use CFFTPStream to download and upload files.
Networking Sample Code 2006-10-13
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
RecentItems (HTML) (DMG) (ZIP)
Implements "Recent items" menu(s)
Data Management Sample Code 2006-10-09
Performance Overview (HTML) (PDF)
Introduces the factors that determine performance.
Performance Guides 2006-10-03
Preferences Programming Topics for Core Foundation (HTML) (PDF)
Explains how to manage Core Foundation user preferences.
Data Management Guides 2006-10-03
XML Programming Topics for Core Foundation (HTML) (PDF)
Explains how to parse XML documents into structured objects.
Data Management, Internet & Web 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
Watcher (HTML) (DMG) (ZIP)
Uses FSEvents to monitor a directory hierarchy to keep track of its total size
Events & Other Input, File Management Sample Code 2006-08-04
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
CFError Reference (HTML) (PDF)
Describes the opaque type used to represent error information in Core Foundation.
Events & Other Input Reference 2006-07-12
CFSocket Reference (HTML) (PDF)
Describes the CFSocket opaque type.
General Reference 2006-07-06
CFStream Socket Additions (HTML) (PDF)
Describes the C API for using streams with sockets.
Networking Reference 2006-07-06
Memory Usage Performance Guidelines (HTML) (PDF)
Guidelines for improving the performance of memory-related code.
Performance Guides 2006-06-28
Byte-Order Utilities Reference (HTML) (PDF)
Describes Core Foundation byte-order functions.
Data Management Reference 2006-05-23
CFNetwork Reference Collection (HTML) (PDF)
Describes the C APIs for performing a variety network tasks.
Networking Reference 2006-05-23
Launch Time Performance Guidelines (HTML) (PDF)
Guidelines for improving the launch performance of an application.
Performance Guides 2006-04-04
Spotlight Query Programming Guide (HTML) (PDF)
Describes how to add Spotlight searching to your applications.
File Management Guides 2006-03-08
CFData Reference (HTML) (PDF)
Describes the opaque type for representing an immutable byte buffer.
General Reference 2006-02-07
CFMutableBitVector Reference (HTML) (PDF)
Describes the opaque type for managing a mutable ordered collection of bit values.
General Reference 2006-02-07
CFPlugIn Reference (HTML) (PDF)
Describes the CFPlugIn opaque type.
General Reference 2006-02-07
CFPropertyList Reference (HTML) (PDF)
Describes the CFPropertyList opaque type.
General Reference 2006-02-07