Shop now Shop now Shop now Shop All Amazon Fashion Up to 70% off Fashion Cloud Drive Photos Shop now Shop Amazon Fire TV Shop now Shop Fire HD 6 Learn More Shop now Shop now Shop now

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

Programming in Objective-C (4th Edition) (Developer's Library) [Kindle Edition]

Stephen G. Kochan
4.5 out of 5 stars  See all reviews (17 customer reviews)

Print List Price: £31.99
Kindle Price: £16.25 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £15.74 (49%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.


Amazon Price New from Used from
Kindle Edition £16.25  
Paperback £31.99  
Kindle Daily Deal
Kindle Daily Deal: Up to 70% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Book Description

Programming in Objective-C, Fourth Edition

Updated for iOS 5 and ARC

Programming in Objective-C is a concise, carefully written tutorial on the basics of Objective-C and object-oriented programming for Apple's iOS and Mac platforms.

The book makes no assumptions about prior experience with object-oriented programming languages or with the C language (which Objective-C is based upon). Because of this, both beginners 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 C programming language. This unique approach to learning, combined with many small program examples and exercises at the end of each chapter, makes Programming in Objective-C ideally suited for either classroom use or self-study.

The fourth edition of this book has been updated to cover the significant changes that first appeared in iOS 5 and Xcode 4.2, including the use of Automatic Reference Counting (ARC) to improve and simplify memory management in Objective-C programs.

“The best book on any programming language that I’ve ever read. If you want to learn Objective-C, buy it.”—Calvin Wolcott

“An excellent resource for a new programmer who wants to learn Objective-C as their first programming language—a woefully underserved market.”—Pat Hughes

Table of Contents

1 Introduction

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

14 Introduction to the Foundation Framework

15 Numbers, Strings, and Collections

16 Working with Files

17 Memory Management and Automatic Reference Counting

18 Copying Objects

19 Archiving

20 Introduction to Cocoa and Cocoa Touch

21 Writing iOS Applications

A Glossary

B Address Book Example Source Code

Customers Who Viewed This Item Also Viewed

Page of Start over
This shopping feature will continue to load items. In order to navigate out of this carousel please use your heading shortcut key to navigate to the next or previous heading.

Product Description

From the Back Cover

Programming in Objective-C, Fourth Edition
An introduction to the Objective-C language for iOS and Mac OS X development

Objective-C has become the standard programming language for application development on the iOS and Mac OS X platforms. A powerful yet simple object-oriented programming language that’s based on C, Objective-C is widely available not only on Apple platforms but across many operating systems, including Linux, Unix, and Windows.

Programming in Objective-C provides the new programmer a complete, step-by-step introduction to the Objective-C language. 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 programming needs.

The fourth edition of this book has been updated to cover the significant changes that first appeared in iOS 5 and Xcode 4.2, including the use of Automatic Reference Counting (ARC) to improve and simplify memory management in Objective-C programs. It also shows how to take advantage of the Foundation framework’s rich built-in library of classes and provides an introduction to iOS programming.

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), and 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. In 2003 Kochan wrote Programming in Objective-C (Sams, 2003), and followed that with another Mac-related title, Beginning AppleScript (Wiley, 2004).

Product details

  • Format: Kindle Edition
  • File Size: 11186 KB
  • Print Length: 600 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Addison-Wesley Professional; 4 edition (28 Nov. 2011)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B006GFZ288
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Enabled
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Bestsellers Rank: #325,101 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.5 out of 5 stars
4.5 out of 5 stars
Most Helpful Customer Reviews
11 of 11 people found the following review helpful
5.0 out of 5 stars Best introduction to Obj-C that I have read yet 25 Feb. 2012
By jai
Over the past few years I've started reading half a dozen "how to write iOS apps" books, but this is the first one that I'm actually going to finish. I found the way that it introduced the Objective-C concepts well paced and easy to grasp. Most books jump straight into building apps with graphical interfaces, whereas this book takes the time to explain the basics of Objective-C first. The end of chapter exercises are great, building upon the examples in the chapter but also at times requiring some experimentation which helps to cement the topic being covered.
Thoroughly recommend this for anyone looking to start developing for iOS, having some previous programming knowledge, looking to grasp the basics of Objective C.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
3.0 out of 5 stars Difficult and not enjoyable 12 Nov. 2012
By Adso
Format:Kindle Edition|Verified Purchase
I am a very experienced application developer having worked with IBM and Microsoft languages for the last 20+ years. The last language I learned was c# and it was a doddle, a beautiful, intuitive and simple tool that works really well with the cumbersome .net event model. I had assumed that learning Objective-C would a doddle too. After all it is a C based language, like c#. I haven't found that to be the case, at least while trying to learn it using this book. Maybe the mistake I made was going for a book that says it is for programming novices, but I have never found that to be an issue in the past.

IMO, Chapter 13, which is [mysteriously] stated by the author to be optional, should be Chapter 1 as it explains the C structures upon which Objective-C is based. After reading Chapter 13, I found that I understood what I had read in Chapters 1 - 12 much better, because it answered all the "why has it been written like this" questions that cropped up in my mind about Objective-C.

Throughout the book, new concepts are introduced without sufficient explanation. And when questions are asked on the support website (, there is no longer any response from the author. Luckily the stupendously brilliant people at are much more responsive and provide explanations at whatever depth the questioner requires.

Chapter 17, about memory management is a new chapter because changes to the compiler now mean that manual memory management is optional. I found it ambiguous. I am not sure whether any manual memory management issues that were mentioned apply where ARC is in practice or not.

I have just finished reading Chapter 18 about Copying Objects. Once again, nothing is explained clearly, unambiguously or in sufficient depth.
Read more ›
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Good introduction. 25 July 2012
I've written programs for over twenty years, from BBC Basic through to VHDL. I have, however, never really warmed to C and have been concentrating on assembly language for micro controllers. However, I want to look at apps for the iPhone etc, so bought this as my introduction not only to Objective C but object orientated programming. It's a big ask of this book, but it's done a very good job of introducing me to this type of programming.

I've just finished reading another book on Objective C and can speak by experience at how superior the Kochan text is. It's detailed enough where it needs to be, and covers many of the structures that as a programmer you use. The other book by comparison skimmed the details, and didn't even cover some of the most basic looping structures that Kochan does. The comparison is stark, and especially when you look at the examples worked through with this book as they give you a better idea of how Objective C works. It was a joy to work through.

There are two limitations of this book, but neither are they criticisms as they are out with it's scope too. The programming environment of Xcode and iOS/Mac programming aren't detailed more than is necessary to use the example programs. This, however, is acceptable as the book specifically is targeting the language and there are other texts which cover those parts.

I can highly recommend this book.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Good comprehensive book 9 April 2012
Format:Paperback|Verified Purchase
This is a very good book for Objective C and basic Foundation classes such as strings, arrays etc. My background is as a C programmer, so I skipped the chapter on C and benefited from an understanding of the underlying language. However, I think the book is a very accessible book for anyone wanting to learn the 'Apple' language of choice. Although covered in one chapter, this is not a book for iOS programming itself and I would recommend other books for iOS. But for Objective-C itself, it is excellent.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
3.0 out of 5 stars Too basic, not too interesting in general 24 Sept. 2012
By Anton
Format:Paperback|Verified Purchase
I bought this book in hope to deepen and structure my knowledge in Objective-C and Cocoa as I recently switched to iPhone development and didn't have a handful of knowledge in the area. And the book and the author disappointed me, to say the least. I was expecting something close to "The C++ Programming Language" by Stroustrup or books by Richter on C#, but in reality I got a book for beginners in programming. The book title is very misleading (at least to me) as author describes simple things to someone who never wrote any single program in his life. In fact I think that the approach taken here is completely wrong - were I a newbie in software development, I doubt I'd learn anything good from here.

It took me three days to complete this 600 pages writing just because there was not much discussion of really interesting topics. And I almost started laughing when I finally got to the "Underlying C Language Features" chapter! If you know a bit about Objective-C and C languages you would understand that throughout the book you are reading about C language features. Than why did author decided to make a separate chapter for things like arrays or pointers and call them "C features", disregarding that everything before was also C features???

100 pages spent on Foundation Framework are not serious. If you are a seasoned developer - this information would be just enough to get started, but if you have no prior experience in development - half-page intro to collection classes would confuse you too much. Not to say about more advanced topics.

So, what I expected - a well-structured, deep book on Objective-C features, telling me how things work and why.
And what I got - a mediocre intro to the C language, plus brief explanation on Objective-C features built on top of C.
Read more ›
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
5.0 out of 5 stars Five Stars
Great book. Just wish I had time to actually finish it.
Published 13 months ago by Declan McErlane
5.0 out of 5 stars Just what i needed...
I'm trying to learn to make Apple Apps and id read about 3 books on Xcode 4 but still didn't have a clue. This has really filled in the gaps and allowed me to realise me ambition.
Published 20 months ago by T1m
5.0 out of 5 stars Very helpful if you want to master Objective-C programming
This book is not really a beginners book but, does take you through all the basic steps slowly so that you can master each area of Objective-C. Read more
Published 22 months ago by valveamp
5.0 out of 5 stars This is the 1st option to start coding for Mac and iOS
This is your 1st option to start coding for Mac and iOS. It covers all aspects for the Objective C as a programming language. Read more
Published on 25 Dec. 2012 by Mr. Ahmed Eissa
4.0 out of 5 stars Builds on the concepts well but a bit light
Perhaps a little light. Could do more on the annotations but very well laid out and systematically builds on the concepts.
Published on 26 Nov. 2012 by Leixlip
3.0 out of 5 stars Lets just learn objectiv c fast so we can get going with iOS...
I've come across a few iOS application development books that starts by saying: first you have to learn objectiv C. And this is what this books doese. Read more
Published on 17 Oct. 2012 by TomH
4.0 out of 5 stars Great introduction to Objective-C
I've read and followed the SAMS "iPhone Application Development" book, but felt I wanted a deeper knowledge of Objective-C. Read more
Published on 6 Sept. 2012 by Andi
5.0 out of 5 stars Use this to learn the language before you start on your GUI
My background is as an experienced C and C++ programmer, who prefers learning things throughly and in stages, rather than mixing several fields at once. Read more
Published on 29 Aug. 2012 by John Dallman
4.0 out of 5 stars Very good book
A fantastic book. Goes into a lot of depth and is easy to follow and learn from.

Only reason I gave it a 4 star and not 5 is that the max this book does is make a... Read more
Published on 13 Aug. 2012 by John Vas
5.0 out of 5 stars Very Thorough & Informative Book
I haven't finished the book fully yet, however I can say that from what I have done so far I have learnt so much more than I have from any other Objective C book I have used... Read more
Published on 26 Jun. 2012 by Commando2k11
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category