Home > Store > Home & Office Computing > Entertainment/Gaming/Gadgets

larger cover

Add To My Wish List

Sams Teach Yourself iPhone Application Development in 24 Hours, 2nd Edition

  • By John Ray
  • Published Oct 15, 2010 by Sams. Part of the Sams Teach Yourself series.
    • Copyright 2011
    • Dimensions: 7" x 9-1/8"
    • Pages: 704
    • Edition: 2nd
    • Book
    • ISBN-10: 0-672-33220-5
    • ISBN-13: 978-0-672-33220-3

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Downloads
  • Reviews
  • Sample Content
  • Updates

Product Author Bios

John Ray is currently serving as a Senior Business Analyst and Development Team Manager for the Ohio State University Research Foundation. He has written numerous books for Macmillan/Sams/Que, including Using TCP/IP: Special Edition, Teach Yourself Dreamweaver MX in 21 Days, Mac OS X Unleashed, and Teach Yourself iPad Development in 24 Hours. As a Macintosh user since 1984, he strives to ensure that each project presents the Macintosh with the equality and depth it deserves. Even technical titles such as Using TCP/IP contain extensive information about the Macintosh and its applications and have garnered numerous positive reviews for their straightforward approach and accessibility to beginner and intermediate users.

 

You can visit his website at http://teachyourselfiphone.com or follow him on Twitter at #iPhoneIn24.

Sams Teach Yourself iPhone® Application Development

Second Edition

 

John Ray

 

Figures and code appear as they do in Xcode

Covers iOS 4.0 and up, and iPhone 4

Additional files and updates available online

 

In just 24 sessions of one hour or less, learn how to build powerful applications for today’s hottest mobile device: the iPhone! Using this book’s straightforward, step-by-step approach, you’ll master every skill and technology you need, from setting up your iPhone development environment to building great user interfaces, sensing motion to writing multitasking applications. Each lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!

 

Step-by-step instructions carefully walk you through the most common iOS development tasks.

 

Quizzes and Exercises at the end of each chapter help you test your knowledge.

 

By the Way notes present interesting information related to the discussion.

 

Did You Know? tips offer advice or show you easier ways to perform tasks.

 

Watch Out! cautions alert you to possible problems and give you advice on how to avoid them.

 

Printed in full color—figures and code appear as they do in Xcode

  • Covers iOS 4.0 and up
  • Learn the features of Xcode 3.2 and Interface Builder
  • Prepare your system and iPhone for efficient development
  • Get started quickly with Apple’s Objective-C and Cocoa Touch
  • Understand the Model-View-Controller (MVC) development paradigm
  • Design highly usable applications with interactive widgets and web-connected interfaces
  • Use Table views to navigate structured data
  • Build rotatable and resizable user interfaces
  • Read and write data and create System Setting plug-ins
  • Use the iPhone’s media playback and recording capabilities
  • Create map and location-based (GPS) services
  • Sense motion and orientation with the iPhone’s accelerometer and the iPhone 4 gyroscope
  • Create universal applications that run on the iPhone and iPad
  • Write background-aware multitasking applications
  • Distribute your applications through the App Store

 

http://teachyourselfiphone.com

Customer Reviews

4 of 4 people found the following review helpful
2.0 out of 5 stars Not enough practical information, February 15, 2012
This review is from: Sams Teach Yourself iPhone Application Development in 24 Hours, 2nd Edition (Paperback)
Customer review from the Amazon Vine™ Program (What's this?)
I used to be a fan of the Teach Yourself ... in 24 Hours series. Tutorial-like introductions to the covered topics. Lots of typos but just enough info to give you a jump-start and get coding right away. The present volume is anything but that. It's thick, which begs one to wonder how anyone can learn iPhone programming -- a major PITA for any developer -- in 24 hours, however loosely you interpret the 24 hours. Also, the practical part feels flimsy and rushed, probably because the author himself is not a real iOS developer. A book that immediately gets you to write iOS code would have been better.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful
5.0 out of 5 stars Amazing Book and Tutorials, June 19, 2011
Amazon Verified Purchase(What's this?)
This review is from: Sams Teach Yourself iPhone Application Development in 24 Hours, 2nd Edition (Paperback)
This is the 4th book that I have read on the subject, and it is by far the most useful, most understandable, and most complete. The author covers everything using clear explanations and examples, and the tutorials and sample programs teach you the principles you need to further your iPhone programming skills. This book finally makes iPhone Programming (and Objective-C) understandable and fun. I wish I would have found this book sooner.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 26 people found the following review helpful
2.0 out of 5 stars Buyer beware!, January 4, 2011
This review is from: Sams Teach Yourself iPhone Application Development in 24 Hours, 2nd Edition (Paperback)
This book inspired me to write my first-ever review on Amazon (after being a customer since virtually day one). The reason I was so "inspired" is that this book has some real problems. If you are not a reasonably accomplished programmer in other languages/platforms, stay clear. Typos, omissions and flat-out wrong code abound. I downloaded the errata and that doesn't even cover it all. My book is full of notes. Chapter 16 seems to be particularly bad. For example, they have you enter:

newCard.question = thisQuestion;

When the correct code is:

[newCard setValue:thisQuestion forKey:@"question"];

The other problem I have with it is that the authors (particularly whoever wrote the first 14 to 15 chapters make horrible variable and object naming choices. Sometimes the only difference between the type and the instance is a difference in capitalization:

int Int;

Not an actual example (don't care to go through the book... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 46 customer reviews...

Online Sample Chapter

Building Background-Aware Applications for iPhone

Table of Contents

Introduction

HOUR 1: Preparing Your System and iPhone for Development

Welcome to the iOS Platform

Becoming an iOS Developer

Creating a Development Provisioning Profile

Developer Technology Overview

Summary

Q&A

Workshop

HOUR 2: Introduction to Xcode and the iPhone Simulator

Using Xcode

Using the iPhone Simulator

Further Exploration

Summary

Q&A

Workshop

HOUR 3: Discovering Objective-C: The Language of Apple Platforms

Object-Oriented Programming and Objective-C

Exploring the Objective-C File Structure

Objective-C Programming Basics

Memory Management

Further Exploration

Summary

Q&A

Workshop

HOUR 4: Inside Cocoa Touch

What Is Cocoa Touch?

Exploring the iOS Technology Layers

Tracing the iPhone Application Life Cycle

Cocoa Fundamentals

Exploring the iOS Frameworks with Xcode

Summary

Q&A

Workshop

HOUR 5: Exploring Interface Builder

Understanding Interface Builder

Creating User Interfaces

Customizing Interface Appearance

Connecting to Code

Further Exploration

Summary

Q&A

Workshop

HOUR 6: Model-View-Controller Application Design

Understanding the Model-View-Controller Paradigm

How Xcode and Interface Builder Implement MVC

Using the View-Based Application Template

Further Exploration

Summary

Q&A

Workshop

HOUR 7: Working with Text, Keyboards, and Buttons

Basic User Input and Output

Using Text Fields, Text Views, and Buttons

Setting Up the Project

Further Exploration

Summary

Q&A

Workshop

HOUR 8: Handling Images, Animation, and Sliders

User Input and Output

Creating and Managing Image Animations and Sliders

Further Exploration

Summary

Q&A

Workshop

HOUR 9: Using Advanced Interface Objects and Views

User Input and Output (Continued)

Using Switches, Segmented Controls, and Web Views

Using Scrolling Views

Further Exploration

Summary

Q&A

Workshop

HOUR 10: Getting the User’s Attention

Exploring User Alert Methods

Generating Alerts

Using Action Sheets

Using Alert Sounds and Vibrations

Further Exploration

Summary

Q&A

Workshop

HOUR 11: Making Multivalue Choices with Pickers

Understanding Pickers

Using Date Pickers

Implementing a Custom Picker View

Further Exploration

Summary

Q&A

Workshop

HOUR 12: Implementing Multiple Views with Toolbars and Tab Bars

Exploring Single Versus Multi-View Applications

Creating a Multi-View Toolbar Application

Building a Multi-View Tab Bar Application

Further Exploration

Summary

Q&A

Workshop

HOUR 13: Displaying and Navigating Data Using Table Views

Understanding Table Views and Navigation Controllers

Building a Simple Table View Application

Creating a Navigation-Based Application

Further Exploration

Summary

Q&A

Workshop

HOUR 14: Reading and Writing Application Data

Design Considerations

Reading and Writing User Defaults

Understanding the iPhone File System Sandbox

Implementing File System Storage

Further Exploration

Summary

Q&A

Workshop

HOUR 15: Building Rotatable and Resizable User Interfaces

Rotatable and Resizable Interfaces

Creating Rotatable and Resizable Interfaces with Interface Builder

Reframing Controls on Rotation

Swapping Views on Rotation

Further Exploration

Summary

Q&A

Workshop

HOUR 16: Using Advanced Touches and Gestures

Multitouch Gesture Recognition

Using Gesture Recognizers

Further Exploration

Summary

Q&A

Workshop

HOUR 17: Sensing Orientation and Motion

Understanding iPhone Motion Hardware

Accessing Orientation and Motion Data

Sensing Orientation

Detecting Tilt and Rotation

Further Exploration

Summary

Workshop

HOUR 18: Working with Rich Media

Exploring Rich Media

Preparing the Media Playground Application

Using the Movie Player

Creating and Playing Audio Recordings

Using the Photo Library and Camera

Accessing and Playing the iPod Library

Further Exploration

Summary

Q&A

Workshop

HOUR 19: Interacting with Other Applications

Extending Application Integration

Using Address Book, Email, and Maps… Oh My!

Further Exploration

Summary

Q&A

Workshop

HOUR 20: Implementing Location Services

Understanding Core Location

Creating a Location-Aware Application

Understanding the Magnetic Compass

Further Exploration

Summary

Q&A

Workshop

HOUR 21: Building Background-Aware Applications

Understanding iOS 4 Backgrounding

Disabling Backgrounding

Handling Background Suspension

Implementing Local Notifications

Using Task-Specific Background Processing

Completing a Long-Running Background Task

Further Exploration

Summary

Q&A

Workshop

HOUR 22: Building Universal Applications

Universal Application Development

Understanding the Universal Window-Based Application Template

Other Universal Application Tools

Further Exploration

Summary

Q&A

Workshop

HOUR 23: Application Debugging and Optimization

Debugging in Xcode

Monitoring with Instruments

Profiling with Shark

Further Exploration

Summary

Q&A

Workshop

HOUR 24: Distributing Applications Through the App Store

Preparing an Application for the App Store

Submitting an Application for Approval

Promoting Your Application

Exploring Other Distribution Methods

Summary

Q&A

Workshop

 

 

9780672332203    TOC    9/24/2010

Sample Pages

Download the sample pages (includes Chapter 21 and Index)

 
Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.