This is the eBook version of the printed book.
Written by bestselling author and popular trainer Stephen Kochan, Programming in Objective-C is a clear, step-by-step tutorial on the fundamentals of Objective-C programming for Apple's iOS and Mac platforms.
Programming in Objective-C makes no assumptions about prior experience with either object-oriented programming languages generally or with the C language specifically. Both beginners and experienced programmers alike can use this book to quickly and effectively learn the fundamentals of Objective-C programming. Readers can also learn the concepts of object-oriented programming without having to first learn all of the intricacies of the underlying procedural language (C).
This unique approach to learning Objective-C, combined with an abundance of complete code examples, clear diagrams and tables, exercises at the end of each chapter, and an author-supported readers web forum, makes Programming in Objective-C ideally suited for either self-study or classroom use.
The fourth edition of Programming in Objective-C includes several critical additions and enhancements:
• Updates to cover the latest versions of Xcode (4.2) and the iOS SDK (iOS5)
• Detailed discussion of how to use Automatic Reference Counting (ARC) to improve and simplify memory management in Objective-C programming
• improvements in key areas to incorporate reader feedback and suggestions
Programming in Objective-C, Fourth Edition
Table of Contents
Part I: The Objective-C 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
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 and Automatic Reference Counting (ARC)
18 Copying Objects
Part III: Cocoa, Cocoa Touch, and the iOS SDK
20 Introduction to Cocoa and Cocoa Touch
21 Writing iOS Applications
B Address Book Program Source Code