Tài liệu Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio docx

602 505 0
Tài liệu Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... and Run in the Simulator xx 453 454 454 454 454 455 459 4 67 4 67 468 469 469 470 470 470 470 470 470 471 472 479 479 481 481 482 482 483 483 483 484 503 503 505 505 506 508 512 CONTENTS Interface Builder Creating an Interface Builder Document The Document Window The Library Window The Inspector Window The Connections Panel Summary Appendix B: iPhone Developer Center Resources for the iOS 4 SDK 512 513... 342 343 343 343 344 3 67 3 67 394 394 395 396 396 396 3 97 3 97 398 398 398 398 4 07 4 07 409 416 416 418 4 27 4 27 429 429 429 430 431 442 445 446 450 451 452 452 xix CONTENTS Chapter 13: Performance Tuning and Optimization Profiling Using the Simulator Using the Device Benefits of Profiling A Simple Memory Leak Test Development Steps: A Memory Leak Test Development Steps Continued: Using the Instruments... AlertView for the iPhone-iPod Touch and iPad Development Steps: Loading a File into a UITextView Test Your Application Action Sheets Action Sheet Design The UIActionSheetDelegate Protocol xxiii 1 2 2 2 2 3 3 4 17 17 18 18 26 26 26 26 26 27 30 51 51 53 53 54 54 54 55 66 66 66 67 CONTENTS An Action Sheet for the iPhone-iPod Touch Development Steps: Creating an Action Sheet for the iPhone or iPod Touch... Notification Test Your Application Summary Chapter 7: Networking Concepts Communication over a Network A Simple Network Browser Development Steps: A Simple Network Browser Peer-to-Peer Device Communications Development Steps: Peer-to-Peer Device Communication Test Your Application Summary 163 174 174 175 1 97 1 97 199 200 200 200 200 201 201 202 211 211 212 225 225 2 27 228 230 230 244 245 262 262 xvii CONTENTS... Project An Xcode Application Project Creating Your New Application Adding the Library to the New Project Adding Library Headers to the App Project Designing the App User Interface Adding Source Code Using the Library Classes Test Your Application Summary 520 521 521 522 522 523 5 27 5 27 528 528 530 530 535 542 542 xxi CONTENTS Appendix D: Apple Developer Resources 543 iPhone Developer Program 543 Developer... at the site, simply locate the book’s title (either by using the Search box or by using one of the title lists) and click the Download Code link on the book’s detail page to obtain all the source code for the book xxiv introdUction Because many books have similar titles, you may fi nd it easiest to search by ISBN; this book’s ISBN is 978 -0- 470 - 878 19-4 Once you download the code, just decompress it with... for the iPad Development Steps: Creating an Action Sheet for the iPad Final Steps: Making the Connections Test Your Application Modal Views Presenting and Dismissing the Modal View Transition Styles Modal Presentation Styles (iPad only) A Modal View for the iPhone and iPod Touch Download from Wow! eBook Development Steps: Creating a Modal View for the iPhone and iPod Touch Test Your... Development Steps: Cutting and Pasting Images Test Your Application Creating Custom Menus for the iPad Development Steps: Creating Custom Menus for the iPad Test Your Application Summary Chapter 12: Unit Testing Setting Up the Environment Using an Application-Testing Target A Simple Unit Test Development Steps: A Simple Unit Test Creating the Data.plist Data Source Test Your Application Unit Test Creation... the iPhone or iPod Touch, you need to download the iPhone SDK 4.0 Included in the SDK 4.0 is the SDK 3.2, which allows applications to be written for the iPad You can get the SDK at http://developer.apple.com/iphone/ The SDK is free, but you have to register as a developer with Apple to download it Developer membership is free if you just want to write applications that will run on the included iPhone/iPad... UISplitViewControllerDelegate Protocol A Simple Split View Application Development Steps: A Simple Split View Application for the iPad Creating the DataSource.plist Property List File Test Your Application Summary xvi 67 68 80 80 81 93 95 95 95 95 95 95 96 105 106 108 119 119 121 121 122 122 122 122 122 133 135 135 1 37 1 37 138 138 138 141 145 158 158 CONTENTS Chapter 5: Touch Events 159 Touch Event Handling 159 Single Touch Multi-Touch . Department within the United States at ( 877 ) 76 2-2 974 , outside the United States at (3 17) 572 -3993 or fax (3 17) 572 -4002. Wiley also publishes its books. simultaneously in Canada ISBN: 978 -0- 470 - 878 19-4 ISBN: 978 -1-118-00834-8 (ebk) ISBN: 978 -1-118-00835-5 (ebk) ISBN: 978 -1-118-0 070 6-8 (ebk) Manufactured in

Ngày đăng: 16/02/2014, 00:20

Từ khóa liên quan

Mục lục

  • WoweBook.com

    • Professional iPhone and iPad Development

    • Dedication

    • About the Author

    • About the Technical Editor

    • Credits

    • Acknowledgments

    • Contents

    • Introduction

    • Chapter 1: Navigation

      • Navigation Stack

      • The Navigation Bar

      • A Simple Navigation Bar

      • The Toolbar

      • A Simple Toolbar

      • The Tab Bar

      • A Simple Tab Bar

      • Summary

      • Chapter 2: Alerts, Action Sheets, and Modal Views

        • Alerts

        • A Simple AlertView for the iPhone-iPod Touch and iPad

        • Action Sheets

        • An Action Sheet for the iPhone-iPod Touch

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan