encyclopegia.org

Core Foundation

Core Foundation (also called CF) is a C application programming interface (API) written by Apple Inc.[src] for its operating systems, and is a mix of low-level routines and wrapper functions.[src] Most Core Foundation routines follow a certain naming convention that deal with opaque objects, for example CFDictionaryRef for functions whose names begin with CFDictionary, and these objects are often reference counted (manually) through CFRetain and CFRelease .[src] Internally, Core Foundation forms the base of the types in the Objective-C standard library and the Carbon API.[src] The most prevalent use of Core Foundation is for passing its own primitive types for data, including raw bytes, Unicode strings, numbers, calendar dates, and UUIDs, as well as collections such as arrays, sets, and dictionaries, to numerous macOS C routines, primarily those that are GUI-related.[src] At the operating system level Core Foundation also provides standardized application preferences management through CFPropertyList , bundle handling, run loops, interprocess communication through CFMachPort and CFNotificationCenter , and a basic graphical user interface message dialog through CFUserNotification .[src] Other parts of the API include utility routines and wrappers around existing APIs for ease of use.…[src]

Core Foundation (also called CF) is a C application programming interface (API) written by Apple Inc.[src] for its operating systems, and is a mix of low-level routines and wrapper functions.[src] Most Core Foundation routines follow a certain naming convention that deal with opaque objects, for example CFDictionaryRef for functions whose names begin with CFDictionary, and these objects are often reference counted (manually) through CFRetain and CFRelease .[src] Internally, Core Foundation forms the base of the types in the Objective-C standard library and the Carbon API.[src] The most prevalent use of Core Foundation is for passing its own primitive types for data, including raw bytes, Unicode strings, numbers, calendar dates, and UUIDs, as well as collections such as arrays, sets, and dictionaries, to numerous macOS C routines, primarily those that are GUI-related.[src] At the operating system level Core Foundation also provides standardized application preferences management through CFPropertyList , bundle handling, run loops, interprocess communication through CFMachPort and CFNotificationCenter , and a basic graphical user interface message dialog through CFUserNotification .[src] Other parts of the API include utility routines and wrappers around existing APIs for ease of use.[src] Utility routines perform such actions as file system and network I/O through CFReadStream , CFWriteStream , and CFURL and endianness translation (Byte Order Utilities).[src] Some examples of wrapper routines include those for Core Foundation's wrapper routines for Unix sockets, the CFSocket API.[src] Some types in Core Foundation are "toll-free bridged", or interchangeable with a simple cast, with those of their Foundation Kit counterparts.[src] For example, one could create a CFDictionaryRef Core Foundation type, and then later simply use a standard C cast to convert it to its Objective-C counterpart, NSDictionary * , and then use the desired Objective-C methods on that object as one normally would.[src] Core Foundation has a plug-in model ( ) that is based on the Microsoft Component Object Model.[src] ==References== ==External links== Core Foundation reference at Apple Developer OpenCFLite at SourceForge CFLite including CFNetwork works in 64bit, uses LibreSSL (TLS 1.1, 1.2)[src]

20 sentences · 20 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Core Foundation." encyclopegia.org, 2025, https://encyclopegia.org/wiki/core-foundation. Accessed 26 November 2026.

Chicago

"Core Foundation." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/core-foundation.

APA

encyclopegia.org. (2025). Core Foundation. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/core-foundation

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Planet Core Productions

stub · references available

Earth's core

stub · references available

Core

stub · references available

Gottfried Keller Foundation

stub · references available

Windows Communication Foundation

stub · references available

Giordano Bruno Foundation

stub · references available

Friedrich Naumann Foundation

stub · references available

Adam Müller-Guttenbrunn foundation

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1305043813 · 0.5 · snapshot enwiki-001305043813

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.