List of Listings

 

Chapter 3. Using Xcode

Listing 3.1. iPhone presents... Hello, World!

Listing 3.2. Header file for a new class

Listing 3.3. Source code file for a new class

Chapter 5. Creating basic view controllers

Listing 5.1. Three methods that control how your table is created and runs

Chapter 6. Monitoring events and actions

Listing 6.1. manageTouches, which accepts inputs and changes views

Listing 6.2. Accessing a text field and a slider

Chapter 7. Creating advanced view controllers

Listing 7.1. Tab bar controller setup

Listing 7.2. A table for a navigator

Listing 7.3. Activating a navigation controller

Listing 7.4. The flipside toggler

Listing 7.5. Declaring the dataset array for the SplitViewController

Listing 7.6. Populating the dataset for the SplitViewController

Listing 7.7. UITableViewDelegate methods for displaying bookmark data

Listing 7.8. Adding an IBOutlet for your UIWebView

Listing 7.9. Responding to device rotation

Listing 7.10. Displaying a popover view when a button is pressed

Chapter 8. Data: actions, preferences, and files

Listing 8.1. Following the table view methods to fill out your preferences table

Listing 8.2. Preferences setup with NSUserDefaults

Listing 8.3. Setting and saving NSUserDefaults

Listing 8.4. A prototype notepad program that maintains a text field as a file

Chapter 9. Data: advanced techniques

Listing 9.1. SKDatabase, a new sqlite3 database class

Listing 9.2. SKMenu, an interface to the SKDatabase class