News for hackers. Stuff that matters.
Re:Where to start - programming for mobile phones by lpgauth on Friday June 20, 2008 @04:03PM (#223157)
Started reading 'The Objective-C 2.0 Programming Language' (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?

Re:Where to start - programming for mobile phones by boucher on Friday June 20, 2008 @07:11PM (#223311)
Objective-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/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.

Re:Where to start - programming for mobile phones by cpr on Friday June 20, 2008 @07:13PM (#223313)
No, 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 is a good overview of the new features.