You are previewing The Complete Idiot's Guide® To iPad and iPhone App Development.
O'Reilly logo
The Complete Idiot's Guide® To iPad and iPhone App Development

Book Description

Take a bite out of Apple's iPhone™ success.

The Complete Idiot's Guide® to Developing iPhone(tm) Apps is the perfect introduction for aspiring iPhone(tm) app creators, offering a step-by-step approach exploring all of the tools and key aspects of programming using the iPhone(tm) software development kit, including getting the finished product distributed through the App Store.

*Apple also reports more than one billion downloads of their more than 25,000 available applications, and both the number of applications and the appetite for them keeps growing

*Of the more than 50,000 companies and individuals who have registered as program developers, 60 percent have never before developed an Apple platform

Table of Contents

  1. Title Page
  2. Copyright Page
  3. Introduction
  4. Acknowledgements
  5. Part 1 - Getting Started
    1. Chapter 1 - Welcome to the Party!
      1. Before You Begin
      2. New to Mac?
      3. Device Features
      4. Device Limitations
      5. Getting the SDK
    2. Chapter 2 - Your First App in a Flash
      1. Creating Your First Project
      2. Get Up and Running
      3. Introducing the iPhone Simulator
      4. Xcode Debugger View
      5. Finding Your Way Through the Dark
    3. Chapter 3 - Interface Building
      1. ICE, ICE, Baby
      2. Making ICE
      3. Interface Builder
      4. Interface Building
      5. Looking Ahead
    4. Chapter 4 - Buttons, Controllers, and Code
      1. iShockU App
      2. Interface Building
      3. Controllers
      4. Connect the Dots
      5. Make the Button Do Something Interesting
      6. Shocking Finale
      7. Another App in the Books
    5. Chapter 5 - Objective-C and Cocoa Touch
      1. What Is Objective-C?
      2. Object-Oriented Programming Review
      3. The Basics
      4. Objects
      5. Classes in Objective-C
      6. Up Next
    6. Chapter 6 - Memory Management
      1. Introduction to Memory Management
      2. Autorelease
      3. Golden Rules of Memory Management
      4. Properties
      5. Objective-C Complete
  6. Part 2 - Building Your User Interface
    1. Chapter 7 - Switches, Sliders, and Controls
      1. Basic Built-In Controls
      2. Fonts App
      3. Build the Interface
      4. Add Outlets and Actions to the Controller
      5. Hook It Up
      6. Time to Code
      7. Try It Out
      8. Another App in the Books
    2. Chapter 8 - Text Fields
      1. Tiptacular
      2. Protocols
      3. Delegation
      4. Using the API in Xcode
      5. UITextFieldDelegate
      6. Customize the Keyboard
      7. Computing the Tip
      8. Tiptacular Complete
    3. Chapter 9 - Pickers
      1. Collections
      2. Intro to Pickers
      3. Ruralfork App
      4. Here We Go
      5. Try It Out
    4. Chapter 10 - Web Views, Spinners, and Alerts
      1. Web Views
      2. Browser App
      3. New Interface Elements
      4. Adding Bookmarks
      5. Browser App Done
  7. Part 3 - Multi-View Applications
    1. Chapter 11 - View Controllers
      1. Multi-View Applications
      2. MVC
      3. Tweet App
      4. Building Tweet
      5. Modal Views
      6. Models
      7. View Controller Lifecycle Methods
      8. Tweedle Dee, Tweedle Done
    2. Chapter 12 - Navigation Controllers
      1. Navigation Controller Basics
      2. CelebriTweets App
      3. Adding a UINavigationController
      4. Pushing View Controllers
      5. Customizing the Navigation Bar
      6. Twitter Data
      7. All Done
    3. Chapter 13 - Tab Bar Controllers
      1. Intro to Tab Bar Controllers
      2. Chweeter App
      3. Interface Challenge
      4. Adding a UITabBarController
      5. Getting the Rest of the App Working
      6. All Done
    4. Chapter 14 - Table Views
      1. Intro to Table Views
      2. An Example
      3. Frenemies
      4. Interface Challenge
      5. UITableViewDatasource
      6. Row Selection and UITableViewDelegate
      7. All Done
    5. Chapter 15 - Split Views and Popovers
      1. Split Views
      2. Popovers
      3. TweetPad
      4. Interface Challenge
      5. Adding a Split View
      6. Done with Multi-View Applications
  8. Part 4 - The APIs You Can’t Wait to Use
    1. Chapter 16 - Animation
      1. Intro to Animations
      2. Animating UIViews
      3. Core Graphics
      4. Animotion App
      5. Interface Challenge
      6. Start Animating
      7. Figuring Out When the Animation Is Done
      8. All Done
    2. Chapter 17 - Video, Images, and Audio
      1. Intro to Media on the iPhone OS
      2. Using the Camera for Pictures and Video
      3. Playing Video
      4. Notifications
      5. Playing Audio
      6. Media App
      7. Wrapping Up
    3. Chapter 18 - GPS and Location Management
      1. Using Core Location
      2. CLLocation
      3. CLLocationManager
      4. Distance App
      5. Interface Challenge
      6. Integrating with Core Location
      7. Testing the App
      8. Wrapping Up
    4. Chapter 19 - iAd and Multitasking
      1. iPhone OS 4.0
      2. Multitasking
      3. iAd
      4. Onward and Upward
  9. Part 5 - Make Your Millions
    1. Chapter 20 - Debugging in Detail
      1. Debugging on iPhone OS Devices
      2. GDB
      3. NSLog
      4. Done with Debugging
    2. Chapter 21 - Testing Apps on Your Device
      1. Strategy
      2. iPhone Developer Program
      3. Provisioning
    3. Chapter 22 - Tools of the Trade
      1. Three Tools Every iMechanic Should Master
      2. Clang
      3. Instruments
      4. Shark
      5. Wrapping Up
    4. Chapter 23 - The App Store and Beyond
      1. Intro to the App Submission Process
      2. Getting Paid
      3. Adding Your App
      4. Building Your App for the App Store
      5. Tips for Getting Approved
      6. Stay Classy, iPhone Developers
  10. Appendix - Resources for Further Learning
    1. Class-Related Websites
    2. Developer Blogs
    3. Forums
    4. Videos
  11. Index