文档介绍:Professional
iPhone™ and iPod® touch
Programming
Chapter 1: Introducing the iPhone and iPod touch Development Platform . . . . 1
Chapter 2: Designing a User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 3: Implementing the Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Chapter 4: Styling with CSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Chapter 5: Handling Touch Interactions and Events . . . . . . . . . . . . . . . . . . 101
Chapter 6: Advanced Programming Topics: Canvas and Video . . . . . . . . . . . 121
Chapter 7: Integrating with iPhone Services . . . . . . . . . . . . . . . . . . . . . . . . 153
Chapter 8: Enabling and Optimizing Web Sites
for iPhone and iPod touch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Chapter 9: Bandwidth and Performance Optimizations . . . . . . . . . . . . . . . . 209
Chapter 10: Packaging Apps as Bookmarks:
Bookmarklets and Data URLs . . . . . . . . . . . . . . . . . . . . . . . . . 221
Chapter 11: Case Studies: Beyond Edge-to-Edge Design . . . . . . . . . . . . . . . 237
Chapter 12: Testing and Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
i 12/7/07 3:01:28 PM
ii 12/7/07 3:01:28 PM
Professional
iPhone™ and iPod® touch
Programming
Building Applications for Mobile Safari™
Richard Wagner
Wiley Publishing, Inc.
iii 12/7/07 3:01:28 PM
Professional iPhone™ and iPod® touch Programming:
Building Applications for Mobile Safari™
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
Copyright © 2008 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-25155-3
Manufactured in the United States of America
10 9