Buy The Advanced iOS 6 Developer's Cookbook - Bookswagon
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer hardware > Personal computers > Macintosh > The Advanced iOS 6 Developer's Cookbook
The Advanced iOS 6 Developer's Cookbook

The Advanced iOS 6 Developer's Cookbook


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

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 an indeviduals 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 students can jump straight to their solution without having to identify the right class or framework first.



Table of Contents:

Preface xiii

1 Device-Specific Development 1

Accessing Basic Device Information 1

Adding Device Capability Restrictions 2

Recipe: Checking Device Proximity and Battery States 5

Recipe: Recovering Additional Device Information 9

Recipe: Using Acceleration to Locate “Up” 11

Working with Basic Orientation 12

Retrieving the Current Accelerometer Angle Synchronously 13

Recipe: Using Acceleration to Move Onscreen Objects 16

Recipe: Accelerometer-Based Scroll View 19

Recipe: Core Motion Basics 21

Recipe: Retrieving and Using Device Attitude 26

Detecting Shakes Using Motion Events 27

Recipe: Using External Screens 29

Tracking Users 35

One More Thing: Checking for Available Disk Space 35

Summary 36

2 Documents and Data Sharing 39

Recipe: Working with Uniform Type Identifiers 39

Recipe: Accessing the System Pasteboard 45

Recipe: Monitoring the Documents Folder 48

Recipe: Presenting the Activity View Controller 54

Recipe: The Quick Look Preview Controller 63

Recipe: Adding a QuickLook Action 66

Recipe: Using The Document Interaction Controller 69

Recipe: Declaring Document Support 75

Recipe: Creating URL-Based Services 82

Summary 84

3 Core Text 87

Core Text and iOS 87

Attributed Strings 89

Recipe: Basic Attributed Strings 93

Recipe: Mutable Attributed Strings 95

The Mystery of Responder Styles 98

Recipe: Attribute Stacks 100

Recipe: Using Pseudo-HTML to Create Attributed Text 105

Drawing with Core Text 109

Creating Image Cut-Outs 112

Recipe: Drawing Core Text onto a Scroll View 114

Recipe: Exploring Fonts 116

Adding Custom Fonts to Your App 118

Recipe: Splitting Core Text into Pages 119

Recipe: Drawing Attributed Text into a PDF 120

Recipe: Big Phone Text 122

Summary 125

4 Geometry 127

Recipe: Retrieving Points from Bezier Paths 127

Recipe: Thinning Points 129

Recipe: Smoothing Drawings 132

Recipe: Velocity-Based Stroking 135

Recipe: Bounding Bezier Paths 137

Recipe: Fitting Paths 142

Working with Curves 144

Recipe: Moving Items Along a Bezier Path 148

Recipe: Drawing Attributed Text Along a Bezier Path 151

Recipe: View Transforms 154

Recipe: Testing for View Intersection 161

Summary 166

5 Networking 167

Recipe: Secure Credential Storage 167

Recipe: Entering Credentials 171

Recipe: Handling Authentication Challenges 176

Recipe: Uploading Data 177

Recipe: Building a Simple Web Server 181

Recipe: OAuth Utilities 184

Recipe: The OAuth Process 188

Summary 196

6 Images 197

Image Sources 197

Reading Image Data 199

Recipe: Fitting and Filling Images 203

Recipe: Rotating Images 208

Recipe: Working with Bitmap Representations 210

Recipe: Basic Image Processing 215

Recipe: Image Convolution 216

Recipe: Basic Core Image Processing 219

Capturing View-Based Screen Shots 221

Drawing into PDF Files 222

Recipe: Reflection 223

Recipe: Emitters 226

Summary 228

7 Cameras 229

Recipe: Snapping Photos 229

Recipe: Enabling a Flashlight 233

Recipe: Accessing the AVFoundation Camera 235

Recipe: EXIF 242

Image Orientations 247

Recipe: Core Image Filtering 249

Recipe: Core Image Face Detection 251

Recipe: Sampling a Live Feed 257

Summary 260

8 Audio 261

Recipe: Playing Audio with AVAudioPlayer 261

Recipe: Looping Audio 269

Recipe: Handling Audio Interruptions 272

Recipe: Recording Audio 274

Recipe: Recording Audio with Audio Queues 280

Recipe: Picking Audio with the MPMediaPickerController 286

Creating a Media Query 288

Recipe: Using the MPMusicPlayerController 290

Summary 294

9 Connecting to the Address Book 297

The AddressBook Frameworks 297

Recipe: Searching the Address Book 322

Recipe: Accessing Contact Image Data 325

Recipe: Picking People 326

Recipe: Limiting Contact Picker Properties 329

Recipe: Adding and Removing Contacts 331

Modifying and Viewing Individual Contacts 334

Recipe: The “Unknown” Person Controller 335

Summary 338

10 Location 339

Authorizing Core Location 339

Recipe: Core Location in a Nutshell 344

Recipe: Geofencing 348

Recipe: Keeping Track of “North” by Using Heading Values 350

Recipe: Forward and Reverse Geocoding 353

Recipe: Viewing a Location 355

Recipe: User Location Annotations 360

Recipe: Creating Map Annotations 363

Summary 369

11 GameKit 371

Enabling Game Center 371

Recipe: Signing In to Game Center 373

Designing Leaderboards and Achievements 375

Recipe: Accessing Leaderboards 378

Recipe: Displaying the Game Center View Controller 380

Recipe: Submitting Scores 381

Recipe: Checking Achievements 382

Recipe: Reporting Achievements to Game Center 383

Recipe: Multiplayer Matchmaking 385

Recipe: Responding to the Matchmaker 387

Recipe: Creating an Invitation Handler 388

Managing Match State 390

Recipe: Handling Player State Changes 390

Recipe: Retrieving Player Names 392

Game Play 393

Serializing Data 394

Recipe: Synchronizing Data 397

Recipe: Turn-by-Turn Matchmaking 399

Recipe: Responding to Turn-Based Invitations 401

Recipe: Loading Matches 402

Recipe: Responding to Game Play 403

Recipe: Ending Gameplay 407

Recipe: Removing Matches 410

Recipe: Game Center Voice 411

GameKit Peer Services 415

Summary 425

12 StoreKit 427

Getting Started with StoreKit 427

Creating Test Accounts 430

Creating New In-App Purchase Items 431

Building a Storefront GUI 435

Purchasing Items 438

Validating Receipts 443

Summary 445

13 Push Notifications 447

Introducing Push Notifications 447

Provisioning Push 451

Registering Your Application 454

Recipe: Push Client Skeleton 458

Building Notification Payloads 465

Recipe: Sending Notifications 466

Feedback Service 471

Designing for Push 473

Summary 473

Index 475



About the Author :
Erica Sadun is the bestselling author, coauthor, and contributor to several dozen books on programming, digital video and photography, and web design, including the widely popular The iOS 5 Developer’s Cookbook. She currently blogs at TUAW.com and has blogged in the past at O’Reilly’s Mac Devcenter, Lifehacker, and Ars Technica. In addition to being the author of dozens of iOS-native applications, Erica holds a Ph.D. in Computer Science from Georgia Tech’s Graphics, Visualization, and Usability Center. A geek, a programmer, and an author, she’s never met a gadget she didn’t love. When not writing, she and her geek husband parent three geeks-in-training, who regard their parents with restrained bemusement, when they’re not busy rewiring the house or plotting global dominance.


Best Sellers


Product Details
  • ISBN-13: 9780321884220
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Height: 230 mm
  • No of Pages: 528
  • Weight: 835 gr
  • ISBN-10: 0321884221
  • Publisher Date: 14 Mar 2013
  • Binding: Paperback
  • Language: English
  • Spine Width: 30 mm
  • Width: 180 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
The Advanced iOS 6 Developer's Cookbook
Pearson Education (US) -
The Advanced iOS 6 Developer's Cookbook
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

The Advanced iOS 6 Developer's Cookbook

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Hello, User