Contents

About the Authors

About the Technical Reviewer

Acknowledgments

Introduction

images Chapter 1: Getting Started

Getting a Mac

Getting Xcode

Getting a Store Account

Downloading and Installing Xcode

Running Xcode

The Apple Developer Portal

Summary

images Chapter 2: Your First iOS Apps

Creating Your First iPhone App

Xcode and Your Project Files

Writing the Code for Your Application

Testing the App on the iPhone Emulator

Creating Your First iPad App

Summary

images Chapter 3: Running Your App on a Device

Signing Up as an Apple Developer

Using the Developer Portal

Deploying to a Device with Xcode

Summary

images Chapter 4: Your Second iOS App

Creating the Project and Adding a Graphic

Creating the User Interface

Adding the Image View

Adding a Label

Adding a Button

Writing the Code for Your App

Digging the Button Code

Editing Your Code

Pit Stop—Reviewing Some Concepts

Storyboards

Classes

Methods

Header Files

Summary

images Chapter 5: Going Deeper: Patterns and Delegates

Building an App for Text Input

Create and Design your App

Set Up Your Connections and Write Your Code

Going Deeper into Text Field Behavior

Using Delegates

Changing the App to Have More Controls

Summary

images Chapter 6: Debugging iOS7 Apps

Creating the App

Designing the Magic 8-ball App

Writing the Code

Debugging the App

Handling a Coding Error

Using Breakpoints

Handling Runtime Errors

Handling Compile-time Errors

Summary

images Chapter 7: Exploring UI Controls

The Segmented Control

UISegmentedControl Example

Building an App with a UISegmentedControl

The Slider Control

Slider Control Example

Building an App with a Slider

The Switch Control

The Stepper Control

Summary

images Chapter 8: Picker Controls

Date Input with the Date Picker

Using UIDatePicker in an App

Create the User Interface for the “Date Picker” App

Write the Code for Your “Date Picker” App

Exploring Options on the UIDatePicker

Using the UIPicker Control

Creating a UIPicker App

Creating the Data Source

Handling Delegated Events on the UIPicker

Using a Multi-component UIPicker

Adding Another Data Source

Summary

images Chapter 9: Using Table Views

Examples of the Table View

Custom Cells in a Table View

Navigation in a Table View

Controls Within Table View Cells

Your First Table View App

Capturing User Selection

Creating a Multi-Selection Table View

Designing the Interface

Editing the Headers

Creating the Data

Setting the Delegate and Data Source

Setting the Number of Sections

Setting the Number of Rows per Section

Creating the Table Cells

Getting the User’s Selection

Running the App

Using Table Views for Navigation

Creating the App

Using a Navigation Controller

Passing Data to a View

Summary

images Chapter 10: Mapping in iOS

Creating a Mapping App with the Map View

Detecting Map Location

Adding Pins to a Map

Changing the Map Mode

Summary

images Chapter 11: Web Views and Connections

The Web View Control

Build a Web View App

Designing the App

Outlets, Actions, and Delegate Declarations

Editing the Code

Running the App

Creating an Internet-Connected App

Download an Image from the Web

Summary

images Chapter 12: iPad Considerations

App Navigation on the iPad

Building an iPad App

Investigating the Storyboard

Summary

images Chapter 13: Deploying Your App to the App Store

Preparing Your App for Store Deployment

Setting the General Settings

Creating Settings for Your App on iTunes Connect

Building Your App for Store Distribution

Summary

Index

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

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