If you’re getting started with iOS development, or want a firmer grasp of the basics, this practical guide provides a clear view of its fundamental building blocks—Objective-C, Xcode, and Cocoa Touch. You’ll learn object-oriented concepts, understand how to use Apple’s development tools, and discover how Cocoa provides the underlying functionality iOS apps need to have. Dozens of example projects are available at GitHub.
Once you master the fundamentals, you’ll be ready to tackle the details of iOS app development with author Matt Neuburg’s companion guideProgramming iOS 7.
- Explore the C language to learn how Objective-C works
- Learn how instances are created, and why they’re so important
- Tour the lifecycle of an Xcode project, from inception to App Store
- Discover how to build interfaces with nibs and the nib editor
- Explore Cocoa’s use of Objective-C linguistic features
- Use Cocoa’s event-driven model and major design patterns
- Learn the role of accessors, key-value coding, and properties
- Understand the power of ARC-based object memory management
- Send messages and data between Cocoa objects
Preface;Versions;Acknowledgments;From the Programming iOS 4 Preface;Conventions Used in This Book;Using Code Examples;Safari? Books Online;How to Contact Us;Language;Chapter 1: Just Enough C;1.1 Compilation, Statements, and Comments;1.2 Variable Declaration, Initialization, and Data Types;1.3 Structs;1.4 Pointers;1.5 Arrays;1.6 Operators;1.7 Flow Control and Conditions;1.8 Functions;1.9 Pointer Parameters and the Address Operator;1.10 Files;1.11 The Standard Library;1.12 More Preprocessor Directives;1.13 Data Type Qualifiers;Chapter 2: Object-Based Programming;2.1 Objects;2.2 Messages and Methods;2.3 Classes and Instances;2.4 Class Methods;2.5 Instance Variables;2.6 The Object-Based Philosophy;Chapter 3: ObjectlCB