Wednesday, October 3, 2007

Programming Cocoa for OS X

“Cocoa is Apple Inc’s native object-oriented application programming environment for the Mac OS X operating system. It is one of five major APIs available for Mac OS X; the others are Carbon, Toolbox (for the obsolete Classic environment), POSIX (for the BSD environment), and Java. (Environments such as Perl and Ruby are considered minor environments because they are not generally used for full-fledged application programming.)

Cocoa applications are typically developed using the development tools provided by Apple, specifically Xcode (formerly Project Builder) and Interface Builder, using the Objective-C language. However, the Cocoa programming environment can be accessed using other tools, such as Python, Perl and Ruby, with the aid of bridging mechanisms such as PyObjC, CamelBones and RubyCocoa, respectively. It is also possible to write Objective-C Cocoa programs in a simple text editor and build it manually with GCC or GNUstep’s makefile scripts.

For end-users, Cocoa applications are considered to be those written using the Cocoa programming environment. Such applications usually have a distinctive feel, since the Cocoa programming environment automates many aspects of an application to comply with Apple’s Human Interface Guidelines.”

No comments: