SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
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:
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.
iOS Components and Frameworks: Getting Up and Running with Core Data
Foreword to "iOS Components and Frameworks"
Download the sample pages (includes Chapter 13 and Index)
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