Start reading Programming in Objective-C 2.0 (2nd Edition) on the free Kindle Reading App or on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.
Programming Books C Java PHP Python Learn more Browse Programming Books

Deliver to your Kindle or other device

Enter a promotion code
or gift card
 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
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 2.0 (2nd Edition) (Developer's Library) [Kindle Edition]

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

Digital List Price: $35.99 What's this?
Kindle Price: $19.79
You Save: $16.20 (45%)

Formats

Amazon Price New from Used from
Kindle Edition $19.79  
Paperback --  
Unknown Binding --  
Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now
There is a newer edition of this item:
Programming in Objective-C (6th Edition) (Developer's Library) Programming in Objective-C (6th Edition) (Developer's Library) 3.9 out of 5 stars (29)
$22.99
Available for download 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




Editorial Reviews

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

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 classroomm.com/objective-c

 


Product Details

  • 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 (December 29, 2008)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B001BAGW6Y
  • Text-to-Speech: Enabled
  • X-Ray:
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #309,094 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


Customer Reviews

Most Helpful Customer Reviews
143 of 149 people found the following review helpful
5.0 out of 5 stars Outstanding Beginner's Guide to Objective-C January 3, 2009
Format:Paperback|Verified Purchase
This book is both comprehensive and easy to understand. The sequence of chapters chosen to be read chronologically is well thought out (e.g. having the reader use static data types before introducing the generic id type, or having the reader declare and implement accessor methods before introducing the property and synthesize directives). The end of chapter exercises are also short (i.e. quick to complete) but also thoughtfully designed.

The author chose to make this book serve not only as a reference, but as a tutorial. In other words, a bit like the "... for Dummies" series in its hand-holding (i.e. tutorial) style. However, this book is certainly not for "dummies" as the author does not assume the reader to be slow or requiring interjections of humor or casualness. Other books will have authors write things like "Now grab a slice of pizza before we hit this really hard subject!", but this author thankfully spares the reader of this. Kochan is concise and direct. There are very few wasted or unnecessary sentences.

Kochan does not assume prior Objective-C, Cocoa framework, or X-code knowledge. However, if you have experience with just about any procedural or object-oriented language, you will have a much easier time with learning any new language, including Objective-C. If you do not have experience with ANY other language, then you will still have a difficult time with learning all of the Objective-C language as some topics just by their very nature are difficult to grasp immediately without practical experience.

Although there is a chapter each on the Cocoa framework and iPhone development, this book is focused on the Objective-C language and Apple's Foundation framework. Other resources will have to be utilized to learn Cocoa or Cocoa Touch.
Read more ›
Was this review helpful to you?
58 of 58 people found the following review helpful
5.0 out of 5 stars Fantastic book organization! January 11, 2009
Format:Paperback|Verified Purchase
I am a web designer and developer and I've programmed in a lot of languages (i.e. HTML, javascript, actionscript, visual basic, etc.). I wanted to learn Objective-C as the quickly as I could. I quickly found out that not having experience in programming in C (the predecessor to Objective-C) made it hard to understand the reasoning behind the code syntax and finding resources that didn't assume I knew C was almost impossible...

After going through the first three chapters of this book in less than an hour, my confidence in the language has increased exponentially. The book is roughly 624 pages, but I feel like I could code the samples and finish the book in just a few days...

The book is organized into four main sections:
I: The Objective-C 2.0 Language
II: The Foundation Framework
III: Cocoa and the iPhone SDK
IV: Appendixes

The separation of these main topics, Objective-C Language features and the Foundation Framework for example, almost guarantees that there won't be much confusion if you are learning the language for the first time and that there will be a distinction between the topics and concepts for each section.

Kochan does a good job of creating a deep understanding of the material instead of simply saying `just write the code and we'll explain later'. For example, each chapter provides instructions on how to fulfill basic concepts using Objective-C such as writing classes, inheritance, loops, operators, etc. At the end of each chapter, there are `Exercises' which may range anywhere from 5-9, which more or less tests the reader's comprehension on the material that was just covered.

I bought the
... Read more ›
Comment | 
Was this review helpful to you?
83 of 98 people found the following review helpful
5.0 out of 5 stars Best book to learn Objective-C 2.0 January 24, 2009
Format:Paperback|Verified Purchase
Note: Typos have been fixed since the edition I originally purchased. I've kept my original review below, which was influenced by the number of typos and formatting glitches I encountered in the original edition. Now that it's all been rectified, there is NO BETTER BOOK for learning Objective-C 2.0 than this book.

*** ORIGINAL REVIEW (noted deficiencies corrected in updated revisions) ***

I'd love to recommend this book as the gateway to learning to program Mac OS X applications, but unfortunately I cannot. It contains more than a few typographical errors, especially in the first few chapters. Those new to programming in C may end up confused and unable to understand why their programs will not compile. This is unacceptable for this type of book.

Beyond typos, my second gripe is the lack of exercise solutions. This book provides challenging exercises at the end of each chapter that are designed to hone your skills and solidify your understanding of taught topics. Frustratingly, there does not seem to be a source containing exercise solutions. None are found in the book, and surprisingly -- nothing is offered on the book's web page either. Nada. Learning is difficult when you cannot check your solution against the author's intended solution.

My surmise is to blame the editors -- someone unaccustomed to working on programming/technical books likely did the final layout.

I learned C Programming over 20 years ago, thanks in large part to Stephen G. Kochan's original 1988 masterpiece, "Programming In C." I picked up his latest book looking to master my Objective-C programming skills. Personally, I accomplished my goals -- but only because I have a 20+ year history of programming in C (and many other languages).
Read more ›
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Complete Language Coverage for iPhone Programming
The book is excellent for somebody that has a knowledge of C language to quickly get to the language specifics. Read more
Published 11 days ago by James Redpath
5.0 out of 5 stars A must-have for beginners
Well explained, awesome code examples. Excellent drafting, plain language and entertaining, very didactic. Learn the structure of Objective-C in a few lessons
Published 11 months ago by Atahualpa Villadiego alvarez
1.0 out of 5 stars Programming in Objective-C 2.0 Second Edition
The book would be great if the Author would provide a means to obtain the answer to his book exercises. Read more
Published 17 months ago by David E Spann
5.0 out of 5 stars Exactly what I was looking for, at a great price.
Book is in great shape. Now the tough part is reading it! Good reference manual, which is what I wanted.
Published 18 months ago by Dennis Glaeser
5.0 out of 5 stars Great Book !!
This book is really good but pretty challenging if this is your fist programming language ... i recommend ordering the new version... this one is very old and out dated.
Published 19 months ago by christian
3.0 out of 5 stars Great book if you are into Programming
Bought this book to try and learn it but didn't really have the time.
But while I was doing it, it was very easy to understand comes with everything except the computer.
Published on November 1, 2011 by Neil S. Martin
4.0 out of 5 stars Object oriented programming guide
And just that. You won't find much on how to code for the iPhone nor iPad, but it's a good guide on how to get things started.
Published on June 19, 2011 by Pi For Breakfeast
2.0 out of 5 stars I was surprised
When I started to read this book I tried to do all exercises. In the beginning of this book all information for me were very interesting, but then I read chapters 16-19 I... Read more
Published on May 27, 2011 by Evgeniya
4.0 out of 5 stars Easy to read
It's a great programming book. It's easy to read. Since I'm neither an Apple user nor an Object-C programmer, I like the fact that the author starts from the very scratch. Read more
Published on May 22, 2011 by H. M.
5.0 out of 5 stars Excellent book and support
Steve has written a very clear and concise book on Objective-C 2.0. I have purchased other books on this subject but they aren't as structured
and are often confusing at... Read more
Published on May 19, 2011 by garyw
Search Customer Reviews
Search these reviews only

More About the Author

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



Forums

Search Customer Discussions
Search all Amazon discussions

Topic From this Discussion
Kindle Edition worthwhile?
I was quite happy with the way the Kindle version came out, including the formatting of the code. Of course, I may be biased. :)

Steve Kochan
Mar 15, 2010 by Stephen Kochan |  See all 6 posts
Feedback and discssion on Objective-C
Steve. Where is the source code to download? I went to informit and couldn't find it. Had to go through the tech support who was utterly useless in pointing to the source code.
Feb 3, 2009 by James Shaw |  See all 14 posts
Amazon get your head out of ........ Objective C
Yes, Kindle books are seriously overpriced. Price should be author royalty + 20% for publisher + 10% for Amazon. I doubt that adds up to $27. What ever happened to the idea of making a REASONABLE profit. Oh yeah, corporate GREED.
May 20, 2010 by Miles Decoster |  See all 3 posts
When will the 3rd edition be released? Be the first to reply
Did it talk about compiling Objective-C on Windows? Be the first to reply
Start a new discussion
Topic:
First post:
Prompts for sign-in
 




Look for Similar Items by Category