Home > Store > Programming > C/C++

larger cover

Add To My Wish List

Programming in Objective-C, 4th Edition

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Extras
  • Reviews
  • Sample Content

Product Author Bios

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.

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

Author's Site

Link to author site

Customer Reviews

30 of 32 people found the following review helpful
4.0 out of 5 stars Looking to learn how to make your own apps after reading this book? Think again., July 9, 2012
This review is from: Programming in Objective-C (4th Edition) (Developer's Library) (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... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


25 of 27 people found the following review helpful
5.0 out of 5 stars Perfect and up to the minute!, December 31, 2011
Amazon Verified Purchase(What's this?)
This review is from: Programming in Objective-C (4th Edition) (Developer's Library) (Paperback)
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... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


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
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 63 customer reviews...

Online Sample Chapter

Programming in Objective-C

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

¿

Sample Pages

Download the sample pages (includes Chapter 2 and Index)

 
Best Value

Book + eBook Bundle  $89.98  $53.99

Book Price $39.99
eBook Price $14.00
eBook formats included

Buy

This book includes free shipping!

Buy

Book  $49.99  $39.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $39.99  $31.99

Includes EPUB, MOBI, and PDF
About eBook Formats

This eBook includes the following formats, accessible from your Account page after purchase:

ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

MOBIMOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

Adobe ReaderPDFThe popular standard, used most often with the free Adobe® Reader® software.

This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.