
Questo prodotto usufruisce delle SPEDIZIONI GRATIS
selezionando l'opzione Corriere Veloce in fase di ordine.
Pagabile anche con Carta della cultura giovani e del merito, Carta della Cultura e Carta del Docente
Create, build, and reuse applications with the iPhone SDK
Developers are searching for an advanced resource that takes them through what is now a maturing market for the iPhone as well as the nascent market for the iPad this book fulfills that demand. Providing step–by–step guidance on using the latest version of the iPhone SDK, this hands–on guide discusses a variety of topics and features of the iPhone and iPad and then escorts you through the steps necessary for creating a full working example of each feature. Through these exercises, you'll gain the beneficial experience of creating and adding functionality to iPhone and iPad applications using iOS 4.
Professional iPhone and iPad Application Development:
Dissects the application frameworks included in the iPhone SDK and encourages you to design applications that help you understand those frameworks
Examines such topics as table views, image views, pickers, data storage, audio, and video, among others, including multi–tasking and implementing iAds
Reviews the procedures that are necessary to ensure that your applications perform efficiently
Shows you how to develop source code structured in a modular fashion so that you can extract it and implement the functionality in your own applications
Teaches you how to implement multi–tasking audio for background operation
Wrox Professional guides are planned and written by working programmers to meet the real–world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
wrox.com Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Read More
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
INTRODUCTION xxiii
CHAPTER 1: NAVIGATION 1
Navigation Stack 2
The Navigation Bar 2
A Simple Navigation Bar 3
The Toolbar 17
A Simple Toolbar 18
The Tab Bar 26
A Simple Tab Bar 26
Summary 51
CHAPTER 2: ALERTS, ACTION SHEETS, AND MODAL VIEWS 53
Alerts 53
A Simple AlertView for the iPhone–iPod Touch and iPad 54
Action Sheets 66
An Action Sheet for the iPhone–iPod Touch 67
An Action Sheet for the iPad 80
Modal Views 95
A Modal View for the iPhone and iPod Touch 95
A Modal View for the iPad 106
Summary 119
CHAPTER 3: CUSTOM TABLE VIEWS 121
Table Views 121
A Custom Table View Application 122
Summary 135
CHAPTER 4: THE SPLIT VIEW 137
The UISplitViewController Class 137
A Simple Split View Application 138
Summary 158
CHAPTER 5: TOUCH EVENTS 159
Touch Event Handling 159
A Simple Touch Handler 162
A Simple Gesture Recognizer 174
Summary 197
CHAPTER 6: NOTIFICATION PROCESSING 199
NSNotifications Concepts 200
A Local Named Notification 201
A Local Keyboard Notification 211
Summary 225
CHAPTER 7: NETWORKING CONCEPTS 227
Communication over a Network 228
A Simple Network Browser 230
Peer–to–Peer Device Communications 244
Summary 262
CHAPTER 8: MULTIMEDIA 263
Frameworks for Audio 263
Frameworks for Video 265
Playing Audio from the iPod Library 265
An Application That Plays Video from the iPod Library 291
Summary 312
CHAPTER 9: APPLICATION PREFERENCES 313
Application Configuration 313
Setting Simple Preferences 315
Creating a Child Pane Preference Hierarchy 325
Summary 338
CHAPTER 10: DATA STORAGE 339
Property Lists 339
Core Data 341
The Common Premise for Data Storage 343
Summary 394
CHAPTER 11: THE PASTEBOARD 395
Pasteboard Concepts 396
Cutting and Pasting Text 398
Cutting and Pasting Images 407
Creating Custom Menus for the iPad 416
Summary 427
CHAPTER 12: UNIT TESTING 429
Setting Up the Environment 429
A Simple Unit Test 430
Unit Test Creation Steps: A Simple Unit Test 446
Summary 452
CHAPTER 13: PERFORMANCE TUNING AND OPTIMIZATION 453
Profiling 454
A Simple Memory Leak Test 455
Summary 468
CHAPTER 14: INTEGRATING IADS 469
Joining the iAd Network 469
Preparing Your Application to Use the iAd Network 470
A Simple Application Using iAds 471
Summary 479
CHAPTER 15: MULTITASKING 481
Multitasking Services 481
An Application That Multitasks Audio 483
Summary 503
APPENDIX A: YOUR INITIAL APP FIRST STEPS 505
Xcode Project Builder 505
Interface Builder 512
Summary 514
APPENDIX B: IPHONE DEVELOPER CENTER 515
Resources for the iOS 4 SDK 515
iPhone Developer Program 518
iTunes Connect 520
News & Announcements 520
Summary 520
APPENDIX C: COCOA TOUCH STATIC LIBRARIES 521
Xcode Project Template 521
An Xcode Application Project 527
Summary 542
APPENDIX D: APPLE DEVELOPER RESOURCES 543
iPhone Developer Program 543
iTunes App Store 544
Application Distribution Procedures 545
iTunes Connect Developer Guide 545
INDEX 547
Gene Backlin is an independent consultant with more than 30 years in the software industry for clients such as IBM, US Environmental Protection Agency, Waste Management, Bank of America, JP Morgan Chase, and AT&T. In addition to teaching at DePaul University, Gene previously authored Developing NeXTSTEP Applications, which was bundled with the NeXT developer package.


Il sito utilizza cookie ed altri strumenti di tracciamento che raccolgono informazioni dal dispositivo dell’utente. Oltre ai cookie tecnici ed analitici aggregati, strettamente necessari per il funzionamento di questo sito web, previo consenso dell’utente possono essere installati cookie di profilazione e marketing e cookie dei social media. Cliccando su “Accetto tutti i cookie” saranno attivate tutte le categorie di cookie. Per accettare solo deterninate categorie di cookie, cliccare invece su “Impostazioni cookie”. Chiudendo il banner o continuando a navigare saranno installati solo cookie tecnici. Per maggiori dettagli, consultare la Cookie Policy.