As Apple's iPhone and iPad become ever more popular, demand for feature-rich iOS-based business apps is soaring. Many of these apps rely on web services to connect server data with mobile front ends. This presents complex challenges: apps must provide responsive interfaces while seamlessly integrating networks and databases. Suddenly, iOS developers must master advanced asynchronous programming techniques that utilize REST services and industry standards such as XMLRPC and SOAP. In this book, a leading expert in iOS asynchronous programming presents patterns, best practices, and sample code for incorporating virtually any service into any iPad or iPhone app. Going far beyond the basics, Andrew Donoho shows how to fully leverage the iOS development platform to create production-quality solutions. Combining "top-down" theory with "bottom-up" code examples, he offers fully-functional solutions to these and many other common problems: * Building apps that interact with the cloud * Mastering iOS threads and blocks * Implementing OAuth message validation * Moving Core Data threads to the background * Making the most of Apple's Push Notification Services * Integrating Twitter feeds into apps * Using Grand Central Dispatch to optimize Core Data performance Asynchronous iOS Networking Programming will be indispensable for every experienced iOS commercial or enterprise developer: an already sizable audience that's growing at breakneck speed.
Sprache
Verlagsort
Verlagsgruppe
Zielgruppe
Maße
Höhe: 229 mm
Breite: 178 mm
ISBN-13
978-0-13-278832-8 (9780132788328)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Klassifikation
Andrew Donoho runs Donoho Design Group, LLC, an iOS consulting firm, and has developed two REST -based applications: weLostTM and ch@tterTM. He has spent more than 25 years developing with Apple technologies, and created two products that won MacUser Editors Choice awards: MacSpin and TokaMac IIfx Accelerator. Donoho has also helped develop multiple web standards: XHTML v1.0 and 1.1, SVG v1.0 and UPnP v1.1. Trained in experimental physics with a degree from the University of Texas at Austin, he first mastered asynchronous processing by writing interrupt service routines for real-time acquisition of experimental physics data.
1. Network and Asynchronous Programming
2. Communicating Sequential Processes: Queues and iOS
3. Anatomy of a Simple Foreground Queue
4. REST Servers
5. Simple Download Server
6. Example: Simple iPhone Twitter Client
7. REST Operations
8. REST Servers
9. Core 9.34 Fast Overview
10. Example: Twitter App using Core Data
11. "Mind the Loop" -- Putting it all Together
12. Appendices