4 ms·
Started reading 'The Objective-C 2.0 Programming Language' (http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf http://developer.apple
by lpgauth 18y ago
Started reading 'The Objective-C 2.0 Programming Language' (http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf http://developer.apple.com/documentation/Cocoa/Conceptual/Ob...) today for an iPhone library I have to write and I was wondering if there was a big difference between objective-c 1.0 and 2.0 (I can't seem to find any books on 2.0 at my university library).
Also, can anyone recommend a good cocoa book?
- boucher 18y agoObjective-C 2.0 introduced garbage collection and "properties", as well as a new enumeration syntax. The best beginning Cocoa book is "Cocoa Programming for Mac OS X", found here: http://www.amazon.com/exec/obidos/ASIN/0321503619/bignerdranch-20 http://www.amazon.com/exec/obidos/ASIN/0321503619/bignerdran... It's a great book, and a huge number of mac developers got started with it. The new version (which has Obj-C 2.0, Leopard, and other updates) just came out a few weeks ago.
- cpr 18y agoNo, there isn't a huge difference between Obj-C 1.x and 2.0. 2.0 brings you object properties (just syntactic sugar), object iteration (for x in ...), and garbage collection (but not on the iPhone). http://theocacao.com/document.page/510 http://theocacao.com/document.page/510 is a good overview of the new features.