News‎ > ‎

PureFoundation aims to become Foundation compatible substitute

posted Jan 28, 2009, 9:02 AM by probono   [ updated Jan 28, 2009, 9:14 AM ]
PureFoundation is an attempt to create an open-source, binary compatible substitute for Apple's closed-source Foundation framework. The foundation framework is an essential piece of Mac OS X and has lately also become a dependency of some Darwin projects.

PureFoundation developer Stuart Crook descibes his new project as follows: In many ways it is similar to GNUStep Base (and may even share some of its code one day), but it differs in that it makes use of Apple's own Objective-C 2.0 runtime and AutoZone Garbage Collector  (a nice side effect of which is binary compatibility with Mac OS X.) The main purpose of PureFoundation is to get portions of Darwin up and running with as little patching of the original code as possible. Sometimes just having a framework in place called "Foundation" and identifying itself with the correct version strings is enough to spur recalcitrant apps into life. Many functions will be implemented by bridging to Apple's CF-Lite. Many more will be provided thanks to GNUStep. However, it is unlikely PureFoundation will every replicate all aspects of Apple's Foundation, and the project will certainly never stray into AppKit and beyond.

It is hoped that PureFoundation can be used to solve issues like DarwinBuild ticket #49.

For more information on PureFoundation, please see its homepage at