Thursday, July 9, 2009

Mac OSX Developers: Can someone explain to me in a nutshell what is the difference with Cocoa and Objective-C?

Other than being different languages, can you give me examples of why one would choose Cocoa over Objective-C and vis-versa?


I appreciate everybody's help!

Mac OSX Developers: Can someone explain to me in a nutshell what is the difference with Cocoa and Objective-C?
Objective-C is a programming language (it is C plus the Smalltalk object-oriented system).





Cocoa is the standard library of classes used for interacting with Mac OS X. For example, you can use Cocoa classes in programs written in Java or Objective-C. For example, there are classes for working with files, for creating windows and for creating processes and threads. All the standard OS stuff.





The Cocoa class library is taken from the NeXT OS. Here is the history:


http://en.wikipedia.org/wiki/NeXT





There is a free / open source implementation of this class library, GNUstep, if you want to learn Cocoa without having a Mac:


http://www.gnustep.org/

anemone

No comments:

Post a Comment