Programming in Objective-C (Developer's Library) and over one million other books are available for Amazon Kindle. Learn more

Sell Us Your Item
For a $0.94 Gift Card
Trade in
Have one to sell? Sell yours here
Start reading Programming in Objective-C (Developer's Library) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Programming in Objective-C [Paperback]

Stephen Kochan
4.2 out of 5 stars  See all reviews (52 customer reviews)


Available from these sellers.


Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $14.40  
Paperback --  
Amazon.com Textbooks Store
Shop the Amazon.com Textbooks Store and save up to 70% on textbook rentals, 90% on used textbooks and 60% on eTextbooks.
There is a newer edition of this item:
Programming in Objective-C (5th Edition) (Developer's Library) Programming in Objective-C (5th Edition) (Developer's Library) 4.7 out of 5 stars (32)
$28.07
In Stock.

Book Description

December 18, 2003 0672325861 978-0672325861

Programming in Objective-C is a concise, carefully written tutorial on the basics of Objective-C and object-oriented programming. The book makes no assumption about prior experience with object-oriented programming languages or with the C language (upon which Objective-C is based). And because of this, both novice and experienced programmers alike can use this book to quickly and effectively learn the fundamentals of Objective-C. Readers can also learn the concepts of object-oriented programming without having to first learn all of the intricacies of the underlying procedural language (C). This approach, combined with many small program examples and exercises at the end of each chapter, makes it ideally suited for either classroom use or self-study. Growth is expected in this language. At the January 2003 MacWorld, it was announced that there are 5 million Mac OS X users and each of their boxes ships with Objective-C built in.



Editorial Reviews

From the Back Cover

Programming in Objective-C is a concise, carefully written tutorial on the basics of Objective-C and object-oriented programming. The book makes no assumption about prior experience with object-oriented programming languages or with the C language (upon which Objective-C is based). And because of this, both novice and experienced programmers alike can use this book to quickly and effectively learn the fundamentals of Objective-C. Readers can also learn the concepts of object-oriented programming without having to first learn all of the intricacies of the underlying procedural language (C). This approach, combined with many small program examples and exercises at the end of each chapter, makes it ideally suited for either classroom use or self-study. Growth is expected in this language. At the January 2003 MacWorld, it was announced that there are 5 million Mac OS X users and each of their boxes ships with Objective-C built in.

About the Author

Stephen Kochan is the author and coauthor of several bestselling titles on the C language, including Programming in C, Programming in ANSI C, and Topics in C Programming, and several Unix titles, including Exploring the Unix System and Unix Shell Programming. He has been programming on Macintosh computers since the introduction of the first Mac in 1984 and wrote Programming C for the Mac as part of the Apple Press Library.


Product Details

  • Paperback: 576 pages
  • Publisher: Sams (December 18, 2003)
  • Language: English
  • ISBN-10: 0672325861
  • ISBN-13: 978-0672325861
  • Product Dimensions: 8.8 x 7.2 x 1.3 inches
  • Shipping Weight: 2 pounds
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (52 customer reviews)
  • Amazon Best Sellers Rank: #548,661 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
219 of 220 people found the following review helpful
By Kayembi
Format:Paperback
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.
Was this review helpful to you?
41 of 43 people found the following review helpful
4.0 out of 5 stars good prequel to all the cocoa books May 17, 2004
By A Customer
Format:Paperback|Amazon Verified Purchase
I suggest reading this book as a prelude to a book on programming using Cocoa and objective C. I think an especially good match is to read this book (or even the 1st half of it) and then start in with Hillegass' book, then possibly supplement that with "Cocoa Programming" by Anguish, et al. The main strength of Kochan's book is that he teaches Objective C, just Objective C, and that the only tool you need to confront is the commandline. This is much simpler than cranking up Xcode and Interface builder to tackle full-blown Mac Cocoa applications.

My only gripe with this book is the use of "free" rather than retain/release for memory management. This is completely foreign to how things work in Cocoa, and I think it was a mistake to do it this, since you'll just learn to do it differently once you move on to Cocoa, and the point of this book, for me at least, was to get an Objective C grounding for Cocoa. SInce the logical role for this book is to get beginners ready for Cocoa, I think the memory management should have followed standard Cocoa procedures.

Despite this gripe, this is a very useful book for starting in with Objective C and a very reasonable introduction to object oriented programming.

Was this review helpful to you?
24 of 24 people found the following review helpful
Format:Paperback
Finally!!!Finally a book that teaches how to write Objective-C programs without knowing C or having to learn Cocoa. I've been waiting for a book like this for a long time. Kochan explains all of the concepts of Objective-C and OOP so clearly using lots of examples. The second part of the book, which covers the Foundation Framework justifies the price of the book alone. I particularly liked the chapter on memory management, which clearly explains the autorelease pool and how it works. This book is a must read for anyone who wants to learn how to write programs in Objective-C, even if you already know C. Now I'm ready to learn how to write Cocoa programs!
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Out of date
It was what I ordered, but I didn't realize I was buying the 2004 version. A lot has changed since then. I meant to buy the 2.0 version.
Published on February 17, 2011 by Robert Mcgary
3.0 out of 5 stars Plain Jane Programing Book
I can only feel the the author of this book was just going through the motions when he wrote this. I know programming books arn't supposed to be action thrillers, but this guys... Read more
Published on December 5, 2010 by The Masked Programmer
5.0 out of 5 stars Beautifully written. Great for starting iPhone Development too!!!
This book is excellent. If you are new to Apple's development tools, and interested in learning iPhone programming, even if you don't have any previous programming experience. Read more
Published on December 28, 2008 by zacware
4.0 out of 5 stars Good introduction to Objective C
Overall this is a good introduction to Objective-C. Programmers proficient in C will find some sections rather basic but the authors do say in the preface that no programming... Read more
Published on December 9, 2008 by ipo
3.0 out of 5 stars Wait for the obj-c 2.0 version of this book
This book just seems to be a bit out of date which is why I didn't give it the full 4 stars. Wait for the next version.
Published on November 19, 2008 by Sam De La Garza
5.0 out of 5 stars Excellent for learning Objective C for Mac programmming
This is an excellent introductory book on Objective C programming language as used for the Apple Macintosh and Apple iPhone. Read more
Published on November 13, 2008 by J. Cummins
1.0 out of 5 stars Outdated - Don't buy
Don't waste your money on this book like I did. It too out of date to be of any use. Mac Xcode has changed too much since this was published.
Published on October 28, 2008 by J. Harrell
5.0 out of 5 stars Do yourself a favour
Excellent!

I got this almost by accident in a bundle of books I picked up on eBay and it is the single best written 'how to learn a language' book I have ever... Read more
Published on October 20, 2008 by john
5.0 out of 5 stars Get it!
If you are new to Objective-C and are teaching yourself, do the following.
A. GET THIS BOOK.
B. Get the Objective-C Pocket Reference.
C. Get programming.
Published on October 11, 2008 by Michael Cheney
5.0 out of 5 stars Great first book for ObjectiveC and Cocoa
In short, this book is a perfect start developing form Mac and also iPhone, the title is a bit misleading as it only mentions ObjectiveC but the fact is that it takes you in a very... Read more
Published on September 26, 2008 by J. Bares Dominguez
Search Customer Reviews
Only search this product's reviews

Citations (learn more)
This book cites 8 books:
See all 8 books this book cites
 
2 books cite this book:




Forums

Search Customer Discussions
Search all Amazon discussions

Start a new discussion
Topic:
First post:
Prompts for sign-in
 




So You'd Like to...

Create a guide


Look for Similar Items by Category