Contents

Contents at a Glance

Foreword: About the Author

About the Contributing Authors

About the Technical Reviewer

Acknowledgments

Preface

imagesChapter 1: Before We Get Started

Necessities and Accessories

What I Won’t Teach You

Computer Science: A Broad and Diverse Landscape

What You Will Learn

How Does This All Work?

Our Road Map: Using Xcode and Interface Builder

imagesChapter 2: Blast-Off!

Running Your App on the iPhone Simulator

Running your app on the iPad Simulator that reads your iPhone environment

Running your App on the iPad Simulator

Running your App on Physical Devices

Digging the Code

imagesChapter 3: Keep on Truckin’

helloWorld_03 – An Interactive View-Based App

Creating the User Interface

Connecting to the Code

Avoiding an Annoying Error

Setting up the Coding Environment

Creating a Programming Roadmap

Digging the Code

Nibs, Zibs, and Xibs

Methods

Header Files

The Inspector Bar

NSStrings

More on Memory Management

Alright!

imagesChapter 4: Buttons & Labels with Multiple Graphics

Roadmap Recap

helloWorld_04: A View-based Application

Understanding IBOutlets

Pointers

Properties: Management & Control

Adding IBActions

Digging the Code

IBOutlets and IBActions

More About Pointers

You've Said “Hello!”… but now, INDIO!

In the Chapter Ahead

imagesChapter 5: Touches

Redefining “Giving Up”

Roadmap Recap

Touches: A View-Based Application

CGAffineTransform Structs

Coding the Header File

Working in the Implementation File

Running the Code

Digging the Code

In the Chapter Ahead

imagesChapter 6: Switches

Don't Freak Out: Let's Look at Your Brain!

switch: A Tabbed Application

Obtaining the Resources

Creating the App

Adding the Images to the Project

Running the App

Customizing the Tabs

Coding the Second View

Adding a Button

Coding the Button

Using the Button

Digging the Code

Content View Modes

Compile-time and Runtime

In the Chapter Ahead

imagesChapter 7: Storyboards

Storytelling

Roadmap Recap

Roadmap: Four Phases

Evolve: A View-based Storyboard Application

Phase I: Creating Core Storyboarding Configurations

Phase II: Setting Up the View Controllers

Phase III: Establishing View Controller Content

Phase IV: Working on Closure and Coding

Digging the Code

Storyboard View Controllers, iOS4 and Programmatically Creating Them.

In the Chapter Ahead

imagesChapter 8: Debugging

Xcode's Debugging Landscape

Xcode's Tools

switch-mistake: A Lesson in the Art of Crashing

Starting the Project

Creating the Views

Creating the Bug

Comparing the Source Files

Digging the Code

Debugger Console

Fix-it

Documentation

Static Analysis

In the Chapter Ahead

imagesChapter 9: MapKit & Storyboarding

A Little about Frameworks

Important Things to Know

Preinstalled MapKit Apps

Find Yourself

Search for a location

Change the view. See traffic

Cool and Popular MapKit Apps Inspire Us

myStory_01: A Single–View Application

Possible Prepping for the App

Preliminaries

A New Single View Template

Preliminaries: Adding the Annotation File

Preliminaries: Adding Frameworks

Bring in the Images!

Coding the myPos NSObject

Coding the View Controller

Dealing with the View Controller's Implementation

The Storyboard

Digging the Code

Protocols

Memory Management of Storyboard Objects

Digging My Students' MapKit Code

Parsing to MapKit from the Internet

MapKit Parsing

Three MapKit Final Projects: CS–201 iPhone Apps, Objective–C

Zoom Out… Seeing the Big Picture

imagesChapter 10: MapKit & Tables with Storyboarding

myStory_02: A Single-View Application

Possible Prepping for the App

Preliminaries

A New Single View Template

Bring in the Images!

Organize Storyboard

Adding the Table View Controller

Coding myMasterTableViewController

Part 2

Coding the myDetailViewController.m file

Tweaking the Storyboard

imagesChapter 11: Storyboarding to Multimedia Platforms

myiTunes: A Master-Detail Application

Preliminaries

A New Master-Detail Template

Bring in the Images!

Organize the Popover in Storyboard

Coding the myiTunes App

Coding DetailViewController

Finalizing the Storyboard

In Ending

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset