Difference between Foundation Framework and Core Foundation Framework?

openfrog picture openfrog · Dec 3, 2009 · Viewed 13.7k times · Source

I try to get the hang of it, but for now both seem the same thing to me. However, Xcode allows to create an Console App with choice of using "Core Foundation" or just "Foundation". Maybe someone can point out the differences.

Answer

amrox picture amrox · Dec 3, 2009

Core Foundation is the C-level API, which provides CFString, CFDictionary and the like.

Foundation is Objective-C, which provides NSString, NSDictionary, etc.