Start reading Programming in Objective-C (4th 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

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 (4th Edition) (Developer's Library) [Kindle Edition]

Stephen G. Kochan
4.2 out of 5 stars  See all reviews (71 customer reviews)

Digital List Price: $39.99 What's this?
Kindle Price: $22.99
You Save: $17.00 (43%)

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 email address or mobile phone number.

Formats

Amazon Price New from Used from
Kindle Edition $22.99  
Paperback $31.48  
Hero Quick Promo
12 Days of Kindle Book Deals
Load your library with Amazon's editors' picks, $2.99 or less each today only. Learn more
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) 4.0 out of 5 stars (39)
$22.99
Available for download now.

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



Editorial Reviews

From the Back Cover

"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

About the Author

Stephen Kochan is the author and co-author of several bestselling books on the C language -- including Programming in C, Programming in ANSI C, Topics in C Programming - and on Unix, including Exploring the Unix System and Unix Shell Programming. He has been programming on Macintosh computers since the introduction of the first Mac in 1984 and wrote Programming C for the Mac as part of the Apple Press Library.

Product Details

  • File Size: 9520 KB
  • Print Length: 600 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Addison-Wesley Professional; 4 edition (November 28, 2011)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B006GFZ288
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #389,718 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
34 of 36 people found the following review helpful
By Al C.
Format:Paperback
First of all, let me say that if your goal is the same as mine, to learn how to make iPhone apps starting from scratch, this review will help you decide whether or not this book is for you. I would like to point out that prior to reading this book, the only programming knowledge I had was C (only basic ideas - no actual programs were made). I had no other prior programming experience.

After reading this book, did I know how to use text input boxes, make an alert display on the screen, or create a simple app that moved from one page to another? Unfortunately, no. This book focuses mainly with major ideas and concepts of the Objective-C language. That is, how the language is structured, some major and commonly used methods (or functions in other languages), and general tips while making an app. The book finally begins teaching how to actually make an iPhone app (containing buttons and a user interface) in the last chapter. Even so, the last chapter only teaches you to make a simple "Fraction Calculator" app with only some buttons and a text area to display the result. Because of this, don't expect to know how to make even the simplest of apps after reading the book. This book only gets your feet wet.
Read more ›
Was this review helpful to you?
25 of 27 people found the following review helpful
5.0 out of 5 stars Perfect and up to the minute! December 31, 2011
By Jon
Format:Paperback|Verified Purchase
This is clearly the best intro book on Objective C out there. It's fairly comprehensive, doesn't assume any prior programming experience, and best of all, it's fully updated for the latest XCode 4.2, ARC, and iOS 5 development environment. Apple really has been changing the rules of the game for app development very quickly in the OS X days, and this book has kept pace remarkably well. It's really a great intro.

If there's one small weakness, I'd say the author might have presented some tougher challenges in the chapter ending exercises. The sample problems in the text are all very straight-forward and can be answered very easily by referring to the previous chapter itself. At least I think some readers would benefit from the addition of 1 or 2 challenges that might require some out of the box thinking. But hey, compared to other programming books that take the "sink or swim" approach and/or assume they're writing for a 25 year C veteran, I'm willing to forgive the author for a bit of coddling.

I think this is the best place to start Mac an iOS programming, and absolutely where anyone without prior Java, C or even Perl/PHP experience needs to begin. Every other book I've seen assumes a decent familiarity with programming concepts and makes no real attempt to match the scope of this book's coverage (skipping many C topics and more advanced issues like protocols, etc.)

It's not the only book you'll need to program for Apple products, but it's the best first one and it's such a good book starting here makes it more likely you'll actually move on to the Cocoa, etc books. Be sure to buy the Fourth Edition to ensure you get coverage on the radical changes introduced by ARC memory management.
Comment | 
Was this review helpful to you?
19 of 23 people found the following review helpful
4.0 out of 5 stars Not worth the price for ARC update December 19, 2011
Format:Kindle Edition
This is an excellent text on Obj-C in general, but if you already have an edition since 2, this is not worth the update on ARC. The changes to discuss ARC are quite short and contain much less information than Apple provides in free developer documentation. There isn't any information on corner cases. In general, though, it's essential that a new edition cover ARC and the new Xcode.
Was this review helpful to you?
10 of 11 people found the following review helpful
By Lil' T
Format:Paperback|Verified Purchase
If you want to learn objective-c, hands-down, this is the best book out there! The lessons and exercises are challenging and well thought out. The author obviously has a background in teaching programming languages in the past. The forum is great place to get help and look at other people's solutions. For those of you that don't know, there are no solutions to the problems, you have to go to the forum.

However, around chapter 11 where use of the built in frameworks is introduced, the explanations are rushed over and important concepts are skipped all together. It feels like the author worked so hard at the beginning of the book and then rushed the ending. I worked my way through until chapter 16, then threw up my hands and switched to the Big Nerd Ranch Guide IOS programming. To the authors credit, I had no trouble transitioning to this book as he had given me such a good base in objective-c.

Summary - Buy this book to learn objective-c then move on to other texts when you are ready to try actual IOS programming.
Was this review helpful to you?
10 of 11 people found the following review helpful
5.0 out of 5 stars The Go-To Reference for Learning Objective-C February 18, 2012
Format:Paperback
First, in the interest of full disclosure - I was given a copy of this book for review purposes.

Now, on to the good stuff.

This is THE book to get if you need to learn Objective-C from the ground up. I would recommend it to anyone that has exposure to other languages or programming in general and needs to learn Objective-C. (As the author states in his introduction - knowing C is not a necessity. He has taken the approach that Objective-C should be learned on it's own without prerequisite exposure to C.) That being said - it doesn't hurt to have at least some knowledge of C when you read this book - just so that you are not overwhelmed by the similarities when they are pointed out. This is especially true in Chapter 13 when C language features are talked about. After all, Objective-C is based upon C.

What this book does not cover in depth is iOS programming. It's focus is on learning Objective-C - in most examples from a command line/terminal style program. The approach is learning by doing, so for every topic covered there are examples demonstrating the topic that the reader should take pains to replicate on his/her own. There are also extra assignment challenges at the end of each chapter.

The basics are covered first (there is really no mention of any Mac-specific or iOS libraries until Chapter 14). The first thirteen chapters are where the begininning Objective-C programmer learns the ins and outs of the language without regard to any external Mac-related libraries. So, the typical programming language constructs - data types and structures, scoping, classes, looping, OO constructs, inheritance, polymorphism, etc. - all of the things that you need to know about a language itself prior to getting into extensions to that language - are dealt with.
Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Excellent intro to Objective C development
This is the best introductory overview book for a language and framework that I have read. I am an old timer starting in this business in the late 60,s with FORTRAN and surviving... Read more
Published 2 months ago by John C. Howland
5.0 out of 5 stars Great programming book!
This is a great programming book, used it in my class at school and it was very helpful
Published 3 months ago by Miguel
4.0 out of 5 stars A good reference work though vastly outdated
This is a good reference source and has some solid examples of key
principles. However, the book as with so many technology works, is
vastly outdated and was so, before... Read more
Published 7 months ago by Mr. Robert L. King
3.0 out of 5 stars Returned item
Returned item, will order again in the future just didn't need it right now, had to switch class at the last minute. Will leave a more complete review in future.
Published 10 months ago by Ryan
5.0 out of 5 stars Huge Help
There are a whole lot of Objective C books out there, this one is in the top 5 at least.
Published 17 months ago by Paul
4.0 out of 5 stars Clear and extensive
As far as programming books go, this one's clarity really helped me to understand Objective-C's language and the way the code operates. Other books made it seem extremely complex.
Published 17 months ago by J. S. Lightner
5.0 out of 5 stars Easy and practical examples
I like a good where the examples are clear, and follow a good learning curve... This is a very simple book to learn how to program in Objective-C. I really recommend...
Published 18 months ago by Leandro Meinhardt
3.0 out of 5 stars The book does its job.
Not additional comments. covers various topics just as the title suggests. Looking for primer on objective-c than this is not the book for you,
Published 18 months ago by Hans-Jurgen Greiner
4.0 out of 5 stars Not good for non-beginners to programming
If you want a step-by-step tutorial, and have time to learn, and also are pretty new to programming, then this is probably the book for you. Read more
Published 21 months ago by Dave E
5.0 out of 5 stars Excelent book for beginners
I had no previous experience with programming before reading this book. I tried a few others before this one, but they always jumped some explanation or suposed you had aome... Read more
Published 22 months ago by Eduardo Fontes Ribeiro
Search Customer Reviews
Search these reviews only

More About the Author

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

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Look for Similar Items by Category