Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

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


Subscriber Reviews

Average Rating: 4.090909090909091 out of 5 rating Based on 22 Ratings

"Good Intro Book" - by mbohland14 on 22-SEP-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book gives a good introduction and explains key concepts.
Report as Inappropriate

"Programming in Objective-C 2.0" - by Anonymous on 28-SEP-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book is overrated. The pace is extremely slow.  Bad examples and dry explanations. The free website is basically a joke and a scam to get you to join Safari books.   You get free downloads that you can't access unless you have a paid account!
Report as Inappropriate

"Good just for the beginners" - by Peter Kokliaguine on 25-SEP-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I am trying to learn Objective C after 15+ years of developing in C++ for various environments. This book had rather good reviews and I read it online. I was looking for advanced topics on OOP using ObjC as well as libraries available under Mac OS X.

This book focuses on the very basics of OOP and ObjC/C syntax. Exposure to advanced topics, such as garbage collection and ObjC libraries is minimal and primitive.

If you are new to programming and learning the basic concepts I guess this book is ok. If you have a strong background in programming/OOP, look somewhere else.

Report as Inappropriate

"Great book for Objective-C beginners" - by ventilatedswiss on 12-SEP-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I tried books like Objective-C For Dummies (which is an OK book), but invariably these books left me wondering WHY certain syntactical phrases are used and what they mean.  I really didn't want to have to learn C in order to learn Objective-C.

This author is very good at describing the logic behind the order of things in Objective-C, many of which I admit mightn't have been such a mystery if I were familiar with C or C++.  

Bottom line, this book is a great place to start learning Objective-C. The author is remarkably concise, yet thorough.  I should have started here first.

Report as Inappropriate

"A very readable introduction" - by Pcr on 02-JUN-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is a great introduction to Objective-C 2.0.
Easy to read and authoritative.
It includes a section on how to program for the iPhone.

Report as Inappropriate

Table of Contents

 Index

Extras

The publisher has provided additional content related to this title.


Description
Content

These links have been provided by the publisher.

  • examples