HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
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
Advanced Flow Control for Objective-C
Fun with the Objective-C Runtime
How Programming Forums Help the Learning Process
Objective-C for C++ Programmers, Part 1
Objective-C for C++ Programmers, Part 2
Objective-C for C++ Programmers, Part 3
Steve Kochan on the Evolution of Objective-C
The Dynamic Languages Renaissance
The Technology NeXT Gave the World
For additional corrections, resources, and discussion visit the author's web forum at http://classroomm.com/objective-c/.
Write Your First Program in Objective-C
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
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
III: Cocoa and the iPhone SDK
20 Introduction to Cocoa
21 Writing iPhone Applications
IV: Appendixes
A Glossary
B Objective-C 2.0 Language Summary
C Address Book Source Code
D Resources
For additional corrections, resources, and discussion visit the author's web forum at http://classroomm.com/objective-c/.
Download errata for the 5th printing
Download errata for all printings