Core Foundation is a general-purpose C framework whereas
Foundation is a general-purpose Objective-C framework. Both provide collection
classes, run loops, etc, and many of the Foundation classes are wrappers around
the CF equivalents. CF is mostly open-source, and Foundation is closed-source.
Core Foundation is the C-level API, which
provides CF String, CFDictionary and the like.Foundation is Objective-C, which
provides NSString, NSDictionary, etc. CoreFoundation is written in C while
Foundation is written in Objective-C. Foundation has a lot more classes
Core Foundation is the common base of Foundation and Carbon.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Core Foundation is a general-purpose C framework whereas Foundation is a general-purpose Objective-C framework. Both provide collection classes, run loops, etc, and many of the Foundation classes are wrappers around the CF equivalents. CF is mostly open-source, and Foundation is closed-source.
Core Foundation is the C-level API, which provides CF String, CFDictionary and the like.Foundation is Objective-C, which provides NSString, NSDictionary, etc. CoreFoundation is written in C while Foundation is written in Objective-C. Foundation has a lot more classes Core Foundation is the common base of Foundation and Carbon.