Are there any macOS framework references for C?

Im having difficulty trying to find C references for the functions and their inputs for the frameworks inside of /System/Library/Frameworks/. Whenever I search it up online I can only get documentation for usage in Swift and Obj-C.

I'm trying to link to Carbon.framework in C++ but I can't seem to find any references for the actual funtions I can use. This seems to be across all of the frameworks and the closest I found to a source of refrences was the documentation archive but none of it seems to show the actual references.

If anyone has a link to any sort of refrences of any kind then please link them 🥰

Replies

You're not going find much of anything on Carbon due to deprecation since os X 10.8 https://developer.apple.com/documentation/coreservices/carbon_core and Xcode 5 https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/SystemFrameworks.html#//apple_ref/doc/uid/TP40001067-CH210-BBCFGHBB

Are you looking for something specific? You can often find basic information in the framework headers.

  • I was just unsure whether there was any resources I could use since i've only worked with FOSS libraries in the past, it a shame however that there doesnt seem to be much information about them.

    Thank you for the comment on the header files, I will defo look into that. Hopefully I should be able to infer from those.

Add a Comment

What are you trying to do with Carbon APIs?

MobileTen correctly pointed out that there was deprecated many years ago. However, it’s worse than that. Many Carbon APIs — including all the ones related to windows, controls, and menus — didn’t make the leap to 64-bit, and macOS 10.15 and later only support 64-bit.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"