Programming in Objective-C 2.0 (2nd Edition) and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Start reading Programming in Objective-C 2.0 on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming in Objective-C 2.0 [Paperback]

Stephen G. Kochan
3.6 out of 5 stars  See all reviews (5 customer reviews)
Price: CDN$ 46.99 & FREE Shipping. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 1 to 3 weeks.
Ships from and sold by Gift-wrap available.


Amazon Price New from Used from
Kindle Edition CDN $19.79  
Paperback CDN $46.99  
There is a newer edition of this item:
Programming in Objective-C (6th Edition) Programming in Objective-C (6th Edition) 4.7 out of 5 stars (3)
CDN$ 32.59
In Stock.
Join Amazon Student in Canada

Book Description

Jan. 7 2009 0321566157 978-0321566157 2


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

Customers Who Bought This Item Also Bought

Product Details

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." 

About the Author

Stephen Kochan is the author and coauthor of several bestselling titles on the C language, including Programming in C (Sams, 2004), Programming in ANSI C (Sams, 1994), and Topics in C Programming (Wiley, 1991), as well as several Unix titles, including Exploring the Unix System (Sams, 1992) and Unix Shell Programming (Sams 2003). He has been programming on Macintosh computers since the introduction of the first Mac in 1984, and he wrote Programming C for the Mac as part of the Apple Press Library.  He maintains a web site and support forum for Programming in Objective-C 2.0 at


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

Most helpful customer reviews
5 of 5 people found the following review helpful
4.0 out of 5 stars Well thought out, direct and no fluff... Dec 31 2008
I have been a software developer for a number of years and I wanted to get up to speed with Objective C so I could start some iPhone/Mac projects.

This book, while targeted at a novice audience, is perfect for all skill levels. If you have experience with other languages like Java, C#, C++ you will be able to move through the first portion of the book on Objective C rather quickly. Many parts will be familiar, but the author is quick to point out the gotchas and best practice way of getting things done with Objective C.

The Objective C section gives the perfect base to move forward into the Foundation and Cocoa Touch framework sections. The examples are built up through out the book, which is nice since you get some hands on coding done right out of the gate, and you can move the examples and exercises through to the cocoa iPhone section of the book easily. The iPhone section is very concise and contains little fluff, Once complete the reader should feel comfortable enough with the Interface Builder and Cocoa Touch concepts to move forward with more in depth iPhone development or more detailed iPhone texts.
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars An excellent guide, from A to Objective-C. May 11 2009
Apologies for the pun.

This book has been an absolute treat to read. As a completely inexperienced programmer (with a bit of grade 11 PASCAL and grade 12 C, back in 1998), this book is entirely approachable. Author Stephen Kochan does not presume any knowledge of C, C++ or objected-oriented programming, and instead teaches Objective-C from the beginning.

The author takes you through key concepts chapter by chapter, with numerous code examples and exercises to reinforce the key messages presented. While the author does require the novice programmers to make a leap of faith every once in a while, (Fraction *myFraction = [[Fraction alloc] init]; just trust me, this will be explained later) the concepts quickly begin to gel and make sense.

While this book does have a brief section on writing applications using the Cocoa framework, the core of the book revolves around teaching the Objective-C language and its object-oriented approach.

This book is highly recommended for new learners who need a bit of hand-holding, and perhaps some veteran programmers who may need to "deprogram" themselves into the Objective-C way of thinking. Sorry for the puns again.
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars Excellent Objective C 2.0 Learning Resource! Aug. 5 2009
If you're serious about learning Objective C 2.0, (and willing to commit the time and effort), this is an excellent resource and teaching tool.

Kochan starts with the basics and moves the reader through the process of developing numerous Objective C applications (by way of examples and exercises). There is a companion online interactive forum to help the reader along each step of the way - so if you get stumped, you can log in to the forum and get help from other readers or Kochan, himself.

This is a great resource for aspiring iPhone programmers.
Was this review helpful to you?
0 of 1 people found the following review helpful
1.0 out of 5 stars A book about Objective C but not version 2.0 May 16 2010
This is a book sailing under a false flag. It may be a perfectly good book on the basics of Objective C 1.0, but what it isn't is a book about Objective C 2.0. It barely skims the features of the new version; examples - on memory management: 15 pages on autorelease and reference counting which are Objective C 1.0 features, one and a half pages on garbage collection which is objective C 2.0 - two half pages only if you just count the text. On the @property tag - minimal. On key-value encoding, which is essential to understand proper use of @property - minimal. On Appendix Objective C 2.0 language summary, a fairly good quick language reference for Objective C 1.0. On 64 bit programming - nothing much other than declaring ints as long long which you could do in Objective C 1.0. I can't comment on the iPhone section, but at least there's more content there than there is on Objective C 2.0 features.
Was this review helpful to you?
3.0 out of 5 stars Solid beginner's guide Dec 26 2010
By tyt198
This might be a good beginner's guide to objective C, but it's not good enough for you to make any apps. It does not give introduction to many popular classes in the UIKit. I don't have any problem with this being at beginner's level, but I think it will be better if the book can give us some pointers on where to look on for example view management stuff.
Was this review helpful to you?
Want to see more reviews on this item?
Search Customer Reviews
Only search this product's reviews

Look for similar items by category