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:

Source code

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.