For iOS and OS X
The best Objective-C book in Italian and one of the best available.
– devApp Magazine
Objective-C 2.0 for iOS and OSX.
This book provides a complete introduction to the Objective-C programming language starting you on the path to mastering Objective-C, the universal language of iPhone, iPad, and Mac apps.
Using a hands-on approach, you’ll learn how to think in programming terms, how to use Objective-C to construct program logic, and how to synthesise it all into working apps.
What you’ll learn:
The book is structured into 5 sections. In the first section, you will learn the Object-Oriented programming foundation and the Objective-C foundations.
In the second section, you will dive into the Objective-C advanced concepts learning about inheritance, categories and protocols, but also how the preprocessor and the Run-Time Systems works. In this section, you will also learn everything you need to know about the C language.
In the third section, you will learn everything about the Foundation Framework and how to use it to manage numbers, strings, file, directories, and objects. In this section, you will also learn everything about memory management, error handling and the most important design patterns.
In the fourth section, you will start to use Blocks, and to learn about concurrent programming using Grand Central dispatch.
In the final and fifth section, you will be introduced to Cocoa and Cocoa Touch, helping you to connect what you have learned in this book with your next step in your new career as iOS developer.
Who this book is for:
All levels. The book makes no assumption about prior experience with object-oriented programming languages or with the C language (upon which Objective-C is based).
Because of this, both novice 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 procedural language (C).
This approach, combined with many small program examples and exercises at the end of each chapter, makes it ideally suited for either classroom use or self-study.
Table of Contents
PART 01: The Foundations
01: Objective-C 2.0
02: Classes, Objects and Methods
03: Data Types and Expressions
04: Controlling the Program’s Flow
PART 02: Advanced Concepts
06: Categories e Protocols
08: Objective-C is also C
09: Run Time System
PART 03: Foundation Framework
10: Introduction to Foundation Framework
11: Numbers, Strings and Collections
12: File and Directory
13: Memory Management
14: Copying Objects
15: Archiving Objects
16: Error Handling
17: Design Patterns
PART 04: Concurrent Programming
19: Grand Central Dispatch
PART 05: Cocoa e Cocoa Touch
20: Introduction to Cocoa and Cocoa Touch
Author: Andrea Picchi
Publisher: LSWR; 2nd edition