Last I checked, the OSX native libraries use ObjectiveC and have system library calls prefixed with ns_. So, “used as the foundation” is under-selling it a bit. I think they just re-skinned the NextStep GUI to make it resemble OS9 and called it a day.