Core Foundation#
Core Foundation includes C-based object-oriented APIs, with a similar focus to the Foundation Kit. However, it also includes many classes that don’t have a direct correspondent in Foundation, and many Foundation classes are missing.
Apple CoreFoundation#
GNUstep CoreBase#
Version 1.2.2 (There were a lot of commits after this release)
Highly incomplete – you should probably use Swift CoreFoundation.
Swift CoreFoundation#
Two current versions:
macOS Monterey (d8e8a8b92b3a8af8381a11155328c1bba1c6bd2c)
Swift 5.5.3 (491a217baa8a0ef4ae9c8603c434c069cc090c50)
I don’t know how to build this without building the entirety of Swift.
This is the most complete free implementation of CoreFoundation. However, it has no Objective-C toll-free bridging support.
PureDarwin has an old modified version.
The installation instructions from Lion / Darwin 11 are here.
You can browse the source code for El Capitan and earlier on GitHub.