Search code examples
objective-ccocoacocoa-touchfoundationcore-foundation

Difference between Foundation Framework and Core Foundation Framework?


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.


Solution

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

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