AFAIK down from my mind, Some APIs, the GUI toolkit Cocoa and their applications (iWork, iLife etc) are closed source. The kernel, the tool chain and some other API (OpenCL) are open source. I’m not entirely sure that I forgot something.
Edit: One more open source: swift
Edit 2: for those who are interested in detail should check out Apple‘s OSS website. opensource.apple.com