[Lazarus] Carbon vs Cocoa

dmitry boyarintsev skalogryz.lists at gmail.com
Thu Dec 23 19:40:10 CET 2010


Hello Graeme,

Cocoa is your choice.
Apple suggests to use Cocoa for all new development and fpGUI for OSX
is the one.
Cocoa is supported natively by FPC trunk, so you shouldn't have much
troubles using it.

All-in-all both Carbon and Cocoa are using the same low-level
framework. In some cases they're using each-other. But, more and more
Carbon libraries are being deprecated. As well as all new OS features
are available as Cocoa frameworks, instead of C-like (carbon)
libraries. There're a lot of Cocoa examples and articles on-line,
while you might have hard times finding anything useful about Carbon.

thanks,
dmitry




More information about the Lazarus mailing list