Start reading Programming in Objective-C 2.0 (2nd Edition) on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

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
Colour:
Image not available
 

Programming in Objective-C 2.0 (2nd Edition) (Developer's Library) [Kindle Edition]

Stephen G. Kochan
3.9 out of 5 stars  See all reviews (33 customer reviews)

Kindle Price: £23.03 includes VAT* & free wireless delivery via Amazon Whispernet
* 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.

Formats

Amazon Price New from Used from
Kindle Edition £23.03  
Paperback --  
Kindle Books Summer Sale
Kindle Summer Sale: Books from 99p
Browse over 600 titles from best-selling authors, including Neil Gaiman, John Grisham, Jeffrey Archer, Veronica Roth and Sylvia Day. >Shop now

Book Description

THE #1 BESTSELLING BOOK ON OBJECTIVE-C 2.0


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



Product Description

Review

"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

THE #1 BESTSELLING BOOK ON OBJECTIVE-C 2.0


 

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



Product details

  • Format: Kindle Edition
  • File Size: 3631 KB
  • Print Length: 624 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Addison-Wesley Professional; 2 edition (29 Dec. 2008)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B001BAGW6Y
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Not Enabled
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (33 customer reviews)
  • Amazon Bestsellers Rank: #481,279 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.

Customer Reviews

Most Helpful Customer Reviews
14 of 14 people found the following review helpful
4.0 out of 5 stars Excellent guide, but watch out for errors 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?
8 of 8 people found the following review helpful
3.0 out of 5 stars Excellent intro to Obj-C 18 Feb. 2009
By bern
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?
17 of 18 people found the following review helpful
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!
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars I have to return the favor - Go for it. 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?
2 of 2 people found the following review helpful
4.0 out of 5 stars Typos appeared fixed 30 Aug. 2010
Format:Paperback
I just took delivery of this book and it says it's the "Seventh Printing, March 2010".
All the typos mentioned by other reviewers, particularly those reviewed in 2008/2009 appear to be corrected in this edition.

Certainly, the copy I had borrowed from a friend still had some of the mistakes, so am glad to get a fixed version :-)

4 stars only because I'm working through the earlier chapters just now, so can't comment on the entire book. Certainly seems quite a straightforward read, so far.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars Good book with impressive support 10 Sept. 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?
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 A great introductory guide into the world of Objective C programming
A great introductory guide into the world of Objective C programming, this book came as a recommendation from my then Computer Engineering professor. Read more
Published 4 months ago by Adrian
5.0 out of 5 stars Five Stars
Good book and delivery
Published 6 months ago by Martin Buscombe
4.0 out of 5 stars You want to learn Objective-C this is the book
Really well written. I found it useful to understand how Objective-C works.

I already know C language but it has an entire chapter describing all the C basics. Read more
Published on 7 Feb. 2013 by spider75
5.0 out of 5 stars Excellent Introductory text
This book is somewhat unusual for programming books in that it is written clearly and concisely and in standard English. Read more
Published on 24 Jan. 2013 by D. P. Leader
5.0 out of 5 stars Great book!
I'm attempting so learn Objective-C as my first language and i think its going well!

Clearly written and there are lots of exercises to test if you really get the... Read more
Published on 16 Jun. 2011 by Henry T. D. Simmons
1.0 out of 5 stars Too much unnecessary formatting for test programe
I won't recommend this book for the beginner neither use it as a developer library. Too much unnecessary formatting for the test programe which is only trying to make the output... Read more
Published on 20 April 2011 by Richard
5.0 out of 5 stars Great read for Obj-C newbies
I'm half-way through the book and I'm sooo satisfied with my purchase. My only programming background is in Python, so I have a good grasp on OOP, but I'm at a loss about the... Read more
Published on 13 April 2011 by Afonso Fernandez Nogueira
4.0 out of 5 stars Good Introduction to Objective-C
Great introduction to programming in Objective-C, starting from the bottom, that is, using the most fundamental frameworks (the Foundation framework) to start building command line... Read more
Published on 29 Mar. 2011 by G.W.C.
5.0 out of 5 stars Very good staff for beginners
If you've never heard or read anything about programming, this is a very good book.
Never heard about curly bracket? Read more
Published on 7 Dec. 2010 by Davide Giordano
2.0 out of 5 stars A Curate's Egg - With Few Good Bits
I bought this book hoping for a good guide to Objective C but I was disappointed. The premise is good: write a book that teaches Objective C, not just cover the 'objective' bits... Read more
Published on 3 Dec. 2010 by Tony
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
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category