Foundation is on top of Core Foundation, not "Core". Core Foundation is a C++ version of certain Foundation primitives for operating system services that can't depend on the Objective-C runtime.

The Swift standard library would be built on top of that, not the other way around.