More iPhone 3 Development Tackling iPhone SDK 3.pdf

(8002 KB) Pobierz
249024897 UNPDF
More Great iPhone API
Coverage, Depth, and Insight
iPhone 3 Development
Tackling iPhone SDK 3
Dave Mark  |   Jeff LaMarche
More
249024897.045.png 249024897.049.png 249024897.050.png 249024897.051.png 249024897.001.png 249024897.002.png 249024897.003.png 249024897.004.png 249024897.005.png 249024897.006.png 249024897.007.png 249024897.008.png 249024897.009.png 249024897.010.png 249024897.011.png 249024897.012.png 249024897.013.png 249024897.014.png 249024897.015.png 249024897.016.png 249024897.017.png 249024897.018.png 249024897.019.png 249024897.020.png 249024897.021.png 249024897.022.png 249024897.023.png 249024897.024.png 249024897.025.png 249024897.026.png 249024897.027.png 249024897.028.png 249024897.029.png 249024897.030.png 249024897.031.png 249024897.032.png 249024897.033.png 249024897.034.png 249024897.035.png 249024897.036.png 249024897.037.png 249024897.038.png 249024897.039.png 249024897.040.png
More iPhone 3
Development:
Tackling iPhone SDK 3
■ ■ ■
Dave Mark
Jeff LaMarche
i
249024897.041.png 249024897.042.png
More iPhone 3 Development: Tackling iPhone SDK 3
Copyright © 2009 by Dave Mark and Jeff LaMarche
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic
or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the
prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-2505-8
ISBN-13 (electronic): 978-1-4302-2743-4
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a
trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with
no intention of infringement of the trademark.
President and Publisher: Paul Manning
Lead Editor: Clay Andres
Developmental Editor: Douglas Pundick
Technical Reviewer: Mark Dalrymple
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan Gennick,
Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes, Jeffrey Pepper, Frank Pohlmann,
Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh
Coordinating Editor: Kelly Moritz
Copy Editor: Marilyn Smith and Ralph Moore
Compositor: MacPS, LLC
Indexers: John Collin and Julie Grady
Artist: April Milne
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York,
NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders- ny@springer-sbm.com , or visit
For information on translations, please e-mail info@apress.com , or visit http://www.apress.com .
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook
versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–
eBook Licensing web page at http://www.apress.com/info/bulksales .
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution has
been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or
entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information
contained in this work.
The source code for this book is available to readers at http://www.apress.com . You will need to answer questions
pertaining to this book in order to successfully download the code.
ii
249024897.043.png
To Deneen, Daniel, Kelley, and Ryan, LFU4FRNMWWA. . .
—Dave
To the most important people in my life, my wife and kids.
—Jeff
iii
249024897.044.png
Contents at a Glance
Contents at a Glance .............................................................................................................. iv
Contents .................................................................................................................................. v
About the Authors ................................................................................................................. xii
About the Technical Reviewer ............................................................................................. xiii
Acknowlegments ................................................................................................................. xiv
Preface.................................................................................................................................. xv
Chapter 1: Here We Go Round Again ....................................................................................... 1
Part I: Core Data ......................................................................................................................... 7
Chapter 2: The Anatomy of Core Data ..................................................................................... 9
Chapter 3: A Super Start: Adding, Displaying, and Deleting Data ......................................... 41
Chapter 4: The Devil in the Detail View ................................................................................. 83
Chapter 5: Preparing for Change: Migrations and Versioning ............................................ 127
Chapter 6: Custom Managed Objects .................................................................................. 137
Chapter 7: Relationships, Fetched Properties, and Expressions ........................................ 169
Part II: Further Explorations................................................................................................... 223
Chapter 8: Peer-to-Peer Over Bluetooth Using GameKit ..................................................... 225
Chapter 9: Online Play: Bonjour and Network Streams ...................................................... 271
Chapter 10: Working with Data from the Web .................................................................... 329
Chapter 11: MapKit ............................................................................................................. 359
Chapter 12: Sending Mail.................................................................................................... 391
Chapter 13: iPod Library Access......................................................................................... 405
Chapter 14: Keeping Your Interface Responsive................................................................. 451
Chapter 15: Debugging ....................................................................................................... 495
Chapter 16: The Road Goes Ever On… ................................................................................ 527
Index ................................................................................................................................... 531
249024897.046.png 249024897.047.png 249024897.048.png
Zgłoś jeśli naruszono regulamin