The difference between carbon and cocoa?

What is the difference between carbon and cocoa? For what types of applications should we use carbon and for what types of applications should we use cocoa? What is best for developing applications on Mac OS?

+3
source share
4 answers

Carbon was created to make moving easier on Mac OS 8 and 9. Mac OS 8 and 9. If your code needs to run under OS 8 or 9, then Carbon is the way to go. ( Source )

However, if your software is for OS X, you should emphasize Cocoa over Carbon.

+7
source

: Cocoa. - Carbon, , .

Cocoa API Objective-C C ++. - C API. Cocoa, Carbon bindings , .

API Apple Macintosh ( Apple Lisa) 1980- . , Mac OS X , Apple Mac OS API, API, "Carbon", , Mac OS X. API Carbon , , , . , Carbon , Cocoa.

Cocoa NextStep, Apple Mac OS X. "" API Mac OS X .

+11

( 64- ).

Cocoa ( OS X, Apple. , , Java, Python, Ruby .., , )

+3

, . , MacInTalk OSX 10.7. , API- Carbon, Cocoa API- .

, API Carbon: , , . Cocoa.

, 2006 , , Cocoa, .

0

Source: https://habr.com/ru/post/1725516/


All Articles