What's the difference between Objective-C and Cocoa?

后端 未结 4 1706
日久生厌
日久生厌 2021-01-31 02:21

I\'m just learning Objective-C/Cocoa programming for the Mac. All of the tutorials, books, blogs, podcasts, etc. I\'ve been using really cover the two together. Is there an ea

4条回答
  •  死守一世寂寞
    2021-01-31 03:08

    Objective-C is the language itself.

    Cocoa, formerly NextStep, is the API and runtime that sits on top of Obj-C. Anything starting with NS (for NextStep) is part of Cocoa, not part of the language.

提交回复
热议问题