Programming in Objective-C (Developer's Library) Summary and Reviews

Programming in Objective-C (Developer's Library)
by Stephen Kochan

Programming in Objective-C (Developer's Library)
List Price: $39.99
Our Price: $22.34
You Save: $17.65 (44%)
Availability: Usually ships in 1-2 business days
Category: Book
See more book details and other editions


or

Book Summary Information

Author: Stephen Kochan
Edition: Paperback
Audio: English (Original Language); English (Unknown); English (Published)
Published: 2003-12-18
ISBN: 0672325861
Number of pages: 576
Publisher: Sams

Book Reviews of Programming in Objective-C (Developer's Library)

Book Review: If only there were more programming books like this one...
Summary: 5 Stars

This book is the most lucid book on programming I have ever read. Having a little (self-taught) experience in C, this book was recommended to me as a good foundation before trying to learn Cocoa for programming on Max OS X. I fully expected to be confronted with the sort of doorstopper that I would never finish, as has been the case with several C++ books; instead, I found a straightforward, uncluttered guide, written by somebody with a genuine talent for teaching.

The author takes the approach of not trying to teach you C first, and this has two advantages: first, if you have no C experience, you get started immediately learning Objective-C, so you don't get taught one thing only to be told to forget it later; second, if you do have some C experience, you are thrown into object-oriented programming right from the start. The explanations are consistently concise but clear, and I found myself getting through a chapter or two every night after work and feeling that I was learning something significant on every page. I read someone describe it elsewhere as "Teach Yourself Objective-C in 21 Days," except that this book really could live up to such a title. I wholeheartedly agree - it took me only three weeks to work through the whole book, including nearly all of the exercises. If, like me, you have seen terms such as "polymorphism", "inheritance", "instance method" and "subclassing" bandied around only to stare at them in mute incomprehension, this book is a revelation. The author introduces all such major concepts very gently - in fact they seem to creep up on you, so that by the time you are presented with the proper terminology you either already know what it means or find yourself exclaiming - as I did - "Oh, so that's all polymorphism is!"

My only gripe - and it is very minor - is that the explanations of bitwise operators and bitfields are near incomprehensible to anybody who doesn't have a programming background (or rather, they are explained well, but there is no indication of when you would ever use them), and the author does occasionally (though rarely) seem to assume that the reader has a solid maths background (when there are those of us out there from humanities and arts backgrounds who want to learn to program, too). These topics take up little more than several paragraphs of the 500 or so pages, though, so if you're a novice, don't let them daunt you as they are the exception rather than the rule.

One thing I appreciated about this book was that full code is provided for 99% of the examples - you are never left with an example that won't compile because the author assumed you could guess the rest yourself. Moreover, whilst the examples and exercises do develop on code from previous chapters - in particular, you will develop a Calculator, Fraction, and Rectangle class in the first part of the book, and AddressCard and AddressBook classes in the second part - the author wisely avoids the build-one-big-program approach that some books adopt. This keeps things fresh and lively - you have to type in different examples, meaning you become familiar with the language through repetition, but at the same time you are doing different things in the examples themselves. Moreover the exercises at the end of each chapter are well judged - you are forced to think and look back through the book to recap on what you have learned, and they are difficult without being too difficult. (Don't skip them!)

In the second part of the book, the author moves on to the Foundation framework, which forms half of Cocoa (Cocoa also uses the AppKit for creating GUI's). You will learn how to use NSString, NSArray, NSDictionary (and their mutable counterparts) and a lot more. It builds on everything you've learned in Part One and provides a bridge between the basics of Objective-C and moving on to Cocoa. I expect that this part of the book especially will become dog-eared very quickly. To sum up, this book took me from knowing nothing about Ojbective-C to feeling as though I could write all the background code for the app I have in mind (ie. everything except the GUI). I am now just hoping that Hillegass's book on Cocoa is half as good.

A word of advice: I urge anybody who buys this book to print off the errata on the author's website (the address is given in the book), as there are a few minor errors that might stump you if you don't. Also, if you use Xcode instead of the command-line tools, you will need to delete the contents of the automatically-generated ..._Prefix.pch file as well as the #import line at the top of main.m each time you start a project (the book only specifies the latter). The prefix file caused me some headaches in one of the later chapters.

A lot of people on various forums say that this is the only book from which to learn Objective-C, and I can see why. In short, if you are reading this review you are probably thinking about learning Objective-C, either for its own sake or as groundwork for moving on to Cocoa. Which means that if you are reading this review, you should buy this book.

Computers & Internet Books

Book Subjects
Most talked about in OS X Development Library (Updated!)
Beginning Xcode (Programmer to Programmer) ImageBeginning Xcode (Programmer to Programmer)
by James Bucanek
Wrox; Published: 2006-04-03; Paperback; Book
Best price: $15.02
Price in other shops: $39.99
Objective-C Pocket Reference ImageObjective-C Pocket Reference
by Andrew Duncan
O'Reilly Media, Inc.; Published: 2002-12-01; Paperback; Book
Best price: $5.27
Price in other shops: $9.95
Cocoa in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly)) ImageCocoa in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))
by Michael Beam, James Duncan Davidson
O'Reilly Media, Inc.; Published: 2003-05-19; Paperback; Book
Best price: $20.94
Price in other shops: $44.99
Quartz 2D Graphics for Mac OS X(R) Developers ImageQuartz 2D Graphics for Mac OS X(R) Developers
by R. Scott Thompson
Addison-Wesley Professional; Published: 2006-03-20; Paperback; Book
Best price: $27.76
Price in other shops: $49.99
Learning Cocoa with Objective-C, 2nd Edition ImageLearning Cocoa with Objective-C, 2nd Edition
by James Duncan Davidson, Inc. Apple Computer
O'Reilly Media, Inc.; Published: 2002-09-20; Paperback; Book
Best price: $16.97
Price in other shops: $34.95
Building Cocoa Applications : A Step by Step Guide ImageBuilding Cocoa Applications : A Step by Step Guide
by Simson Garfinkel, Michael K. Mahoney
O'Reilly Media, Inc.; Published: 2002-05-01; Paperback; Book
Best price: $27.00
Price in other shops: $64.99
Cocoa Programming ImageCocoa Programming
by Scott Anguish, Erik Buck, Donald Yacktman
Sams; Published: 2002-09-20; Paperback; Book
Best price: $72.94
iPhone Open Application Development: Write Native Objective-C Applications for the iPhone ImageiPhone Open Application Development: Write Native Objective-C Applications for the iPhone
by Jonathan Zdziarski
O'Reilly Media, Inc.; Published: 2008-03-10; Paperback; Book
Best price: $36.67
Price in other shops: $43.15
Programming with Quartz: 2D and PDF Graphics in Mac OS X (The Morgan Kaufmann Series in Computer Graphics) ImageProgramming with Quartz: 2D and PDF Graphics in Mac OS X (The Morgan Kaufmann Series in Computer Graphics)
by David Gelphman, Bunny Laden
Morgan Kaufmann; Published: 2005-12-28; Paperback; Book
Best price: $50.40
Price in other shops: $78.95
Object-Oriented Programming: An Evolutionary Approach ImageObject-Oriented Programming: An Evolutionary Approach
by Brad J. Cox, Andrew J. Novobilski
Addison-Wesley Pub (Sd); Published: 1991-05; Paperback; Book
Price in other shops: $44.95
Similar books summaries and other product reviews
Learning Cocoa with Objective-C, 2nd Edition ImageLearning Cocoa with Objective-C, 2nd Edition
by James Duncan Davidson, Inc. Apple Computer
O'Reilly Media, Inc.; Published: 2002-09-20; Paperback; Book
Best price: $16.12
Price in other shops: $34.95
Mac OS X Internals: A Systems Approach ImageMac OS X Internals: A Systems Approach
by Amit Singh
Addison-Wesley Professional; Published: 2006-06-29; Hardcover; Book
Best price: $49.99
Price in other shops: $83.99
Beginning Mac OS X Programming ImageBeginning Mac OS X Programming
by Michael Trent, Drew McCormack
Wrox; Published: 2005-07-22; Paperback; Book
Best price: $16.13
Price in other shops: $39.99
Advanced Mac OS X Programming (2nd Edition of Core Mac OS X & Unix Programming) ImageAdvanced Mac OS X Programming (2nd Edition of Core Mac OS X & Unix Programming)
by Mark Dalrymple, Aaron Hillegass
Big Nerd Ranch; Published: 2005-10-01; Paperback; Book
Best price: $44.05
Price in other shops: $69.99
Xcode 3 Unleashed ImageXcode 3 Unleashed
by Fritz Anderson
Sams; Published: 2008-07-27; Paperback; Book
Best price: $25.20
Price in other shops: $44.99
iPhone Open Application Development: Write Native Objective-C Applications for the iPhone ImageiPhone Open Application Development: Write Native Objective-C Applications for the iPhone
by Jonathan Zdziarski
O'Reilly Media, Inc.; Published: 2008-03-10; Paperback; Book
Best price: $26.99
Price in other shops: $40.06
Beginning Xcode (Programmer to Programmer) ImageBeginning Xcode (Programmer to Programmer)
by James Bucanek
Wrox; Published: 2006-04-03; Paperback; Book
Best price: $14.84
Price in other shops: $39.99
The iPhone Developer's Cookbook: Building Applications with the iPhone SDK (Developer's Library) ImageThe iPhone Developer's Cookbook: Building Applications with the iPhone SDK (Developer's Library)
by Erica Sadun
Addison-Wesley Professional; Published: 2008-10-23; Paperback; Book
Best price: $25.66
Price in other shops: $39.99
Cocoa(R) Programming for Mac(R) OS X (2nd Edition) ImageCocoa(R) Programming for Mac(R) OS X (2nd Edition)
by Aaron Hillegass
Addison-Wesley Professional; Published: 2004-05-10; Paperback; Book
Best price: $7.51
Price in other shops: $49.99
Cocoa(R) Programming for Mac(R) OS X (3rd Edition) ImageCocoa(R) Programming for Mac(R) OS X (3rd Edition)
by Aaron Hillegass
Addison-Wesley Professional; Published: 2008-05-15; Paperback; Book
Best price: $26.76
Price in other shops: $49.99