Home > Store

iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Not for Sale

Description

  • Copyright 2014
  • Dimensions: 7" x 9"
  • Pages: 600
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-13-308702-6
  • ISBN-13: 978-0-13-308702-4

This is the Rough Cut version of the printed book.

Take Your Next Leap Forward as an iOS App Developer! Covers iOS 7 and Xcode 5

iOS Components and Frameworks will help you leverage iOS’s powerful components and frameworks to build apps with outstanding performance, reliability, interactivity, media support, and customization.

Pioneering iOS developers Kyle Richter and Joe Keeley illuminate the sophisticated intermediate-to-advancedlevel techniques you’re now ready for. You’ll find example-rich coverage of topics ranging from social support to security, Core Data, TextKit, iCloud support, UIKit Dynamics, MapKit, and Passbook. There’s also a complete section on advanced performance and security, including the effective use of Grand Central Dispatch and Keychain.

Each chapter contains a complete sample project that walks you through integrating its technology into a typical iOS app. You’ll discover how multiple iOS features can be combined into exceptionally powerful apps and walk through a complete case study project: a fully functional game with complete Game Center integration.

Coverage includes:

  • New physics-based animation effects provided by UIKit Dynamics
  • Making the most of Core Location, MapKit, and Geofencing
  • Leveraging Game Center features such as Leader Boards and Achievements
  • Giving users access to their address and media libraries from within your app
  • Using lightweight JSON to move data among servers, apps, and websites
  • Syncing apps via iCloud using UIDocument and key-value store syncing
  • Securing user data with Keychain
  • Informing users of important app-related events via Notifications
  • Storing and retrieving persistent data locally with Core Data
  • Using advanced Objective-C features to write more manageable, concise apps
  • Improving responsiveness through concurrency with Grand Central Dispatch
  • Advanced text handling and display with TextKit
  • Smoothly handling complex and continuous gestures
  • Effective debugging techniques with Xcode 5 and Instruments
  • Building passes for Passbook and PassKit

If you’re a serious iOS developer who wants to build cutting-edge apps, iOS Components and Frameworks delivers the practical skills, reusable code, and expert insights you’re looking for.

Sample Content

Table of Contents

1  UIKit Dynamics     1

Sample App     1

Introduction to UIKit Dynamics     2

Implementing UIKit Dynamics     3

  Gravity     3

  Collisions     4

  Attachments     6

  Springs     8

  Snap     9

  Push Forces     9

  Item Properties     11

In-Depth UIDynamicAnimator and UIDynamicAnimatorDelegate     13

Summary     13

Exercises     14

2  Core Location, MapKit, and Geofencing     15

The Sample App     15

Obtaining User Location     15

  Requirements and Permissions     16

  Checking for Services     19

  Starting Location Request     20

  Parsing and Understanding Location Data     22

  Significant Change Notifications     23

  Using GPX Files to Test Specific Locations     24

Displaying Maps     26

  Understanding the Coordinate Systems     26

  MKMapKit Configuration and Customization     26

  Responding to User Interactions     28

Map Annotations and Overlays     29

  Adding Annotations     29

  Displaying Standard and Custom Annotation Views     32

  Draggable Annotation Views     35

  Working with Map Overlays     36

Geocoding and Reverse-Geocoding     37

  Geocoding an Address     37

  Reverse-Geocoding a Location     41

Geofencing     44

   Checking for Regional Monitoring Capability     44

   Defining Boundaries     45

   Monitoring Changes     46

Getting Directions     48

Summary     52

Exercises     53

3  Leaderboards     55

Whack-a-Cac     55

  Spawning a Cactus     57

  Cactus Interaction     60

  Displaying Life and Score     62

Updates

Submit Errata

More Information