Programming in Objective-C 2.0 (2nd Edition) and over 2 million other books are available for Amazon Kindle . Learn more
Buy Used
FREE Delivery on orders over £10.
Used: Very Good | Details
Sold by the book house
Condition: Used: Very Good
Comment: This item will be picked, packed and shipped by Amazon and is eligible for free delivery within the UK
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Programming in Objective-C 2.0 (Developer's Library) Paperback – 29 Dec 2008

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
£17.98 £0.01

There is a newer edition of this item:

Trade In Promotion

Product details

  • Paperback: 624 pages
  • Publisher: Addison Wesley; 2 edition (29 Dec 2008)
  • Language: English
  • ISBN-10: 0321566157
  • ISBN-13: 978-0321566157
  • Product Dimensions: 17.7 x 3.5 x 22.8 cm
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (31 customer reviews)
  • Amazon Bestsellers Rank: 323,844 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description


"This book spends half the time talking about the Objective-C language itself and half the time talking about Apple's Foundation and Cocoa frameworks. The chapters are well organized and concepts are well explained, so you end up with a solid foundation in the language. It's an easy read even with very little programming experience. The book doesn't cover Cocoa or the other higher level frameworks, but you'll be completely ready to pick it up by the time you're done with this book." 

From the Back Cover



Programming in Objective-C 2.0 provides the new programmer a complete, step-by-step introduction to Objective-C, the primary language used to develop applications for the iPhone, iPad, and Mac OS X platforms.


The book does not assume previous experience with either C or object-oriented programming languages, and it includes many detailed, practical examples of how to put Objective-C to use in your everyday iPhone/iPad or Mac OS X programming tasks.

A powerful yet simple object-oriented programming language that’s based on the C programming language, Objective-C is widely available not only on OS X and the iPhone/iPad platform but across many operating systems that support the gcc compiler, including Linux, Unix, and Windows systems.


The second edition of this book thoroughly covers the latest version of the language, Objective-C 2.0. And it shows not only how to take advantage of the Foundation framework’s rich built-in library of classes but also how to use the iPhone SDK to develop programs designed for the iPhone/iPad platform.


Table of Contents


   1    Introduction

Part I: The Objective-C 2.0 Language

    2    Programming in Objective-C 

    3    Classes, Objects, and Methods

    4    Data Types and Expressions

    5    Program Looping

    6    Making Decisions

    7    More on Classes

    8    Inheritance

    9    Polymorphism, Dynamic Typing, and Dynamic Binding

  10    More on Variables and Data Types

  11    Categories and Protocols

  12    The Preprocessor

  13    Underlying C Language Features

Part II: The Foundation Framework

  14    Introduction to the Foundation Framework

  15    Numbers, Strings, and Collections

  16    Working with Files

  17    Memory Management

  18    Copying Objects

  19    Archiving

Part III: Cocoa and the iPhone SDK

  20    Introduction to Cocoa 

  21    Writing iPhone Applications

Part IV: Appendixes

  A    Glossary

  B    Objective-C 2.0 Language Summary

  C    Address Book Source Code

  D    Resources

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

3.9 out of 5 stars

Most Helpful Customer Reviews

14 of 14 people found the following review helpful By S. Billingsley on 24 Mar 2009
Format: Paperback Verified Purchase
I read this book in preparation for reading further iPhone and Mac programming books.
I would definitely recommend it to anyone who wants to learn the Objective C 2.0 language. The author makes no assumptions, however I am glad I already know the C language before reading this as there are some areas where concepts are introduced without much explanation.
Additionally, there are quite a few errors in the text, for example mixing up NSLog and printf - some of the examples seem to have come from a C language guide and modified for Objective C.
However, these are not too numerous and do not detract from the useful information.
Some additional details on the Objective C 2.0 language features would have been nice, such as further explanation of the 'dot' notation (how it works behind the scenes) and the options available for properties - including examples of the different styles. However, as this guide is aimed at the beginner I can accept these omissions and the book does suggest that further information can be found on Apple's developer website.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 8 people found the following review helpful By bern on 18 Feb 2009
Format: Paperback
An excellent introduction to Objective-C programming.

However... I suspect it'll be a bit heavy going for the new programmer. A knowledge of another programming language (C) is definitely an advantage. Also, as with the previous reviewer, I find the high volume of typographical errors (in the program examples as well as the text) really irritating [minus two stars for this].
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
17 of 18 people found the following review helpful By B. Calder on 10 Feb 2009
Format: Paperback
Whilst the blurb on the back suggests this is suitable for "a new programmer who wants to learn Objective-C as their first programming language" I would beg to differ. Most introductory books have the sense to introduce basic concepts such as data types, loops and conditions, before overwhelming the reader with Object Oriented Programming concepts. As such I think a novice would find it pretty hard-going.

Having said that it's definitely useful when moving from another OOP language: the Objective C syntax is very different to what I've learn in Java and Python. If, like me, you prefer to have a book at hand rather than referring to online material, then it's also going to be useful, however...

I must admit I'm only 80 pages in, but I'm far from impressed by the quality control: it looks to me like they've rushed it out and it hasn't been properly proof-read. There are some pretty substantial errors that are likely to confuse the beginner (and had me scratching my head at points). A couple of examples:

"1.7e4... represents the value 1.7 x 10 ^ -4." (p.51) At first I thought the minus sign must be a misprint, but it's printed exactly the same way on an example where there should have been a minus.

"...before multiplication by the value of Objective-C (25)." (p.58) Where 'Objective-C' was obviously meant to be the variable 'c' in the example above this text but must somehow have been auto-completed to 'Objective-C'.

These are the kind of obvious errors that should have been picked up during a proper proof-reading and really don't inspire confidence. I just hope that at least the example code has been properly tested!
4 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By S. Banda on 19 May 2010
Format: Paperback
At the moment I'm only half way through the book, but I've gotten through this half in about 4 days. I have an understanding of Java, C++ and I'm a PHP developer, but I'm quite convinced that even if you're coming from a non programming background this book would be a great place to start learning objective-C.

The language used is very friendly, each line of code is explained and important points are constantly reiterated throughout the chapters - almost annoyingly so - but it definitely sticks in your head.

I had started reading Learning iPhone Programming: From Xcode to App Store by Alasdair Allan, and though it's a good book I still found it very high level and without a proper understanding of objective-c and how classes and code are structured, any apps developed would have been more by hacking bits of code from tutorials together than from a fundamental understanding of how the framework works.

This book perfectly bridges the gap. Already I can structure iPhone applications in my head even before I start coding.

Thank you all for your useful reviews, that helped me choose the right book, and for anybody still looking to buy a book, I hope I can contribute towards convincing you that this is a great first book to buy.

Happy Coding.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By Matthew Henson on 10 Sep 2009
Format: Paperback
The author has set up a forum for those using the book to learn Objective-C and is active in it. I posted in the forum last Saturday and the author responded within hours: this is a tremendous service, in my view, and free of charge. It is also interesting to learn from other people in the forum, and means that the learner need not stay stuck if the author's meaning is not clear.

As earlier posters have said there are too many printed errors, but you can download errata PDFs from the forum.

At the moment - on page 48 - I think I will be able to work through this book. This is encouraging, because I have made four previous attempts to learn to program OS X and gave up confused early on.

I do not know of any other books that teach Objective-C without prior knowledge of C or C++. If you don't know either of those languages I can recommend this book, though I will admit to other programming experience.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews