Book description
The Advanced iOS 6 Developer’s Cookbook brings together reliable, proven solutions for cutting-edge iOS 6 development. World-renowned iOS expert Erica Sadun covers device-specific development, document/data sharing, Core Text, networking, image processing, onboard cameras, audio, Address Book, Core Location, GameKit,StoreKit, push notifications, and more.
As in her previous bestselling iOS books, Sadun translates today’s development best practices into working code, distilling key concepts into concise recipes that are easy to understand and transfer into your own projects. This isn’t just cut and paste. Using her examples, Sadun fully explains both the “how” and “why” of advanced and specialized iOS 6 development.
All code is tested with iOS 6 features and iPhone, iPad, and iPod touch capabilities. Throughout, every chapter groups related tasks together, so you can jump straight to your solution without having to identify the right class or framework first. Coverage includes
Testing device properties so your app can take full advantage of the iOS unit it’s running on
Seamlessly sharing documents and data across apps and moving control between apps
Presenting exceptionally attractive text with freeform text typesetting
Building touch-based apps that leverage Bezier curves, splines, and other geometric tools
Securing network apps via authentication, system keychains, and OAuth
Accessing and processing image data to create special effects
Integrating live camera feeds and user snapshots
Presenting audio to users and enabling them to interact with it
Effectively using Address Book frameworks and GUI classes
Building advanced location apps with Core Location geopositioning and MapKit
Creating connected game play with GameKit/Game Center: device-to-device networking, shared leaderboards, and Internet-based matches
Integrating secure in-app purchasing with StoreKit
Communicating with users from web-based services via push notifications
For related content by author Erica Sadun, see iOS Auto Layout Demystified, and The Core iOS 6 Cookbook.
Table of contents
- Title Page
- Copyright Page
- Dedication Page
- Contents at a Glance
- Table of Contents
- Acknowledgments
- About the Author
- Preface
- Editor’s Note: We Want to Hear from You!
-
1. Device-Specific Development
- Accessing Basic Device Information
- Adding Device Capability Restrictions
- Recipe: Checking Device Proximity and Battery States
- Recipe: Recovering Additional Device Information
- Recipe: Using Acceleration to Locate “Up”
- Working with Basic Orientation
- Retrieving the Current Accelerometer Angle Synchronously
- Recipe: Using Acceleration to Move Onscreen Objects
- Recipe: Accelerometer-Based Scroll View
- Recipe: Core Motion Basics
- Recipe: Retrieving and Using Device Attitude
- Detecting Shakes Using Motion Events
- Recipe: Using External Screens
- Tracking Users
- One More Thing: Checking for Available Disk Space
- Summary
-
2. Documents and Data Sharing
- Recipe: Working with Uniform Type Identifiers
- Recipe: Accessing the System Pasteboard
- Recipe: Monitoring the Documents Folder
- Recipe: Presenting the Activity View Controller
- Recipe: The Quick Look Preview Controller
- Recipe: Adding a QuickLook Action
- Recipe: Using The Document Interaction Controller
- Recipe: Declaring Document Support
- Recipe: Creating URL-Based Services
- Summary
-
3. Core Text
- Core Text and iOS
- Attributed Strings
- Recipe: Basic Attributed Strings
- Recipe: Mutable Attributed Strings
- The Mystery of Responder Styles
- Recipe: Attribute Stacks
- Recipe: Using Pseudo-HTML to Create Attributed Text
- Drawing with Core Text
- Creating Image Cut-Outs
- Recipe: Drawing Core Text onto a Scroll View
- Recipe: Exploring Fonts
- Adding Custom Fonts to Your App
- Recipe: Splitting Core Text into Pages
- Recipe: Drawing Attributed Text into a PDF
- Recipe: Big Phone Text
- Summary
-
4. Geometry
- Recipe: Retrieving Points from Bezier Paths
- Recipe: Thinning Points
- Recipe: Smoothing Drawings
- Recipe: Velocity-Based Stroking
- Recipe: Bounding Bezier Paths
- Recipe: Fitting Paths
- Working with Curves
- Recipe: Moving Items Along a Bezier Path
- Recipe: Drawing Attributed Text Along a Bezier Path
- Recipe: View Transforms
- Recipe: Testing for View Intersection
- Summary
- 5. Networking
-
6. Images
- Image Sources
- Reading Image Data
- Recipe: Fitting and Filling Images
- Recipe: Rotating Images
- Recipe: Working with Bitmap Representations
- Recipe: Basic Image Processing
- Recipe: Image Convolution
- Recipe: Basic Core Image Processing
- Capturing View-Based Screen Shots
- Drawing into PDF Files
- Recipe: Reflection
- Recipe: Emitters
- Summary
- 7. Cameras
- 8. Audio
- 9. Connecting to the Address Book
- 10. Location
-
11. GameKit
- Enabling Game Center
- Recipe: Signing In to Game Center
- Designing Leaderboards and Achievements
- Recipe: Accessing Leaderboards
- Recipe: Displaying the Game Center View Controller
- Recipe: Submitting Scores
- Recipe: Checking Achievements
- Recipe: Reporting Achievements to Game Center
- Recipe: Multiplayer Matchmaking
- Recipe: Responding to the Matchmaker
- Recipe: Creating an Invitation Handler
- Managing Match State
- Recipe: Handling Player State Changes
- Recipe: Retrieving Player Names
- Game Play
- Serializing Data
- Recipe: Synchronizing Data
- Recipe: Turn-by-Turn Matchmaking
- Recipe: Responding to Turn-Based Invitations
- Recipe: Loading Matches
- Recipe: Responding to Game Play
- Recipe: Ending Gameplay
- Recipe: Removing Matches
- Recipe: Game Center Voice
- GameKit Peer Services
- Summary
- 12. StoreKit
- 13. Push Notifications
- Index
Product information
- Title: The Advanced iOS 6 Developer’s Cookbook, Fourth Edition
- Author(s):
- Release date: February 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133120882
You might also like
book
The Core iOS Developer’s Cookbook, Fifth Edition
The best place to start iOS application development The Core iOS Developer’s Cookbook provides ready-to-use code …
book
The Gourmet iOS Developer’s Cookbook: Even More Recipes for Better iOS App Development
The Gourmet iOS Developer’s Cookbook offers a fresh banquet of delicious cutting-edge iOS programming recipes for …
book
Programming iOS 6, 3rd Edition
Get a solid grounding in all the fundamentals of Cocoa Touch, and avoid problems during iPhone …
book
Beginning iOS 5 Application Development
The ideal starting point for iPhone and iPad app development with iOS 5 If you want …