6 ms·
Foundation is actually open source http://www.opensource.apple.com/source/CF/CF-855.11/CFString.c http://www.opensource.apple.com/source/CF/CF-855.11/CFString..
by cfrs 12y ago
Foundation is actually open source http://www.opensource.apple.com/source/CF/CF-855.11/CFString.c http://www.opensource.apple.com/source/CF/CF-855.11/CFString...
- gilgoomesh 12y agoThat's CoreFoundation, not Foundation. CoreFoundation is plain C and relatively small in feature set. Foundation is Objective-C and much larger. It's a lot easier to work with the Foundation Objective-C API. They both manipulate the same data structures (or nearly the same with zero-cost bridging) but Foundation is far less verbose and a little more dynamic (no need for manual buffer allocations and configuring callback structures).
- dmitryskiba 12y agoThere is Foundation implementation based on CoreFoundation: https://github.com/apportable/Foundation https://github.com/apportable/Foundation