Professional iPhone and iPod touch Programming: Building Applications for Mobile Safari.pdf

(6399 KB) Pobierz
82793601 UNPDF
82793601.010.png
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
82793601.011.png 82793601.012.png 82793601.013.png
82793601.001.png 82793601.002.png 82793601.003.png
Professional
iPhone and iPod ® touch
Programming
Building Applications for Mobile Safari
Richard Wagner
Wiley Publishing, Inc.
82793601.004.png 82793601.005.png 82793601.006.png
Professional iPhone™ and iPod ® touch Programming:
Building Applications for Mobile Safari™
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
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 8 7 6 5 4 3 2 1
Library of Congress Cataloging-in-Publication Data is available from the publisher.
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means,
electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of
the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization
through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers,
MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal
Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355,
or online at http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with
respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including
without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or
promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is
sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional
services. If professional assistance is required, the services of a competent professional person should be sought. Neither
the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Website is
referred to in this work as a citation and/or a potential source of further information does not mean that the author or the
publisher endorses the information the organization or Website may provide or recommendations it may make. Further,
readers should be aware that Internet Websites listed in this work may have changed or disappeared between when this
work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the
United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress
are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other
countries, and may not be used without written permission. iPhone, iPod, and Safari are trademarks or registered
trademarks of Apple Computer, Inc. All other trademarks are the property of their respective owners. Wiley Publishing,
Inc., is not associated with any product or vendor mentioned in this book.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available
in electronic books.
82793601.007.png 82793601.008.png 82793601.009.png
Zgłoś jeśli naruszono regulamin