By: Aaron Hillegass Viewed: 1380 times Printer Friendly Format
Objective-C is a simple and elegant extension to C, and mastering it will take about two hours if you already know C and an object-oriented language, such as Java or C++.
It is possible to develop Cocoa applications in Ruby or Python. To understand that information, you will still need a working knowledge of Objective-C.
Objective-C has recently undergone a major revision. All the code in this book is Objective-C 2. With Objective-C 2.0, Apple added a garbage collector to the language. The garbage collector is opt-in; that is, you can choose to use it or not. The code in this book will be dual-mode; that is, it will work whether or not you turn the garbage collector on.
The Objective-C code will be compiled by gcc, the GNU C compiler. The compiler allows you to freely mix C, C++, and Objective-C code in a single file.
The GNU debugger, gdb, will be used to set breakpoints and browse variables at runtime. Objective-C gives you a lot of freedom to do dumb things; you will be glad to have a decent debugger.
Most Viewed Articles (in Cocoa )
Latest Articles (in Cocoa)
Comment on this tutorial
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews