Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
About This eBook
Title Page
Copyright Page
Dedication Page
Contents
Foreword
Preface
Prerequisites
What You’ll Need
How This Book Is Organized
About the Sample Code
Getting the Sample Code
Installing Git and Working with GitHub
Contacting the Authors
Acknowledgments
About the Authors
1. UIKit Dynamics
Sample App
Introduction to UIKit Dynamics
Implementing UIKit Dynamics
In-Depth UIDynamicAnimator and UIDynamicAnimatorDelegate
Summary
Exercises
2. Core Location, MapKit, and Geofencing
The Sample App
Obtaining User Location
Displaying Maps
Map Annotations and Overlays
Geocoding and Reverse-Geocoding
Geofencing
Getting Directions
Summary
Exercises
3. Leaderboards
Whack-a-Cac
iTunes Connect
Game Center Manager
Authenticating
Submitting Scores
Summary
Exercises
4. Achievements
iTunes Connect
Displaying Achievement Progress
Game Center Manager and Authentication
The Achievement Cache
Reporting Achievements
Adding Achievement Hooks
Completion Banners
Achievement Challenges
Adding Achievements into Whack-a-Cac
Resetting Achievements
Going Further with Achievements
Summary
Exercises
5. Getting Started with Address Book
Why Address Book Support Is Important
Limitations of Address Book Programming
Introduction to the Sample App
Getting Address Book Up and Running
Address Book Graphical User Interface
Programmatically Creating Contacts
Summary
Exercises
6. Working with Music Libraries
Introduction to the Sample App
Building a Playback Engine
Media Picker
Programmatic Picker
Summary
Exercises
7. Working with and Parsing JSON
JSON
Sample App Overview
Accessing the Server
Getting JSON from the Server
Posting a Message
Summary
Exercise
8. Getting Started with iCloud
The Sample App
Setting Up the App for iCloud Support
Introducing UIDocument
Interacting with iCloud
Conflict Resolution
Key-Value Store Syncing
Summary
Exercises
9. Notifications
Differences Between Local and Push Notifications
Sample App
App Setup
Create Development Push SSL Certificate
Development Provisioning Profile
Custom Sound Preparation
Registering for Remote Notifications
Scheduling Local Notifications
Receiving Notifications
Push Notification Server
Basic Rails Setup
Add Support for Devices and Shouts
Device Controller
Shout Controller
Tying It All Together
Sending the Push Notifications
Handling APNs Feedback
Summary
Exercise
10. Bluetooth Networking with Game Kit
Limitations of Game Kit’s Bluetooth Networking
Benefits of Game Kit’s Bluetooth Networking
Sample App
The Peer Picker
Sending Data
Receiving Data
State Changes
Advanced Features
Summary
Exercises
11. AirPrint
AirPrint Printers
Testing for AirPrint
Printing Text
Print Center
Printing Rendered HTML
Printing PDFs
Summary
Exercises
12. Core Data Primer
Deciding on Core Data
Core Data Managed Objects
The Core Data Environment
Summary
13. Getting Up and Running with Core Data
Sample App
Starting a Core Data Project
Building Your Managed Object Model
Setting Up Default Data
Displaying Your Managed Objects
Introducing the Fetched Results Controller
Adding, Editing, and Removing Managed Objects
Summary
Exercises
14. Language Features
Literals
Automatic Reference Counting
Blocks
Properties
Method Swizzling
Summary
Exercises
15. Integrating Twitter and Facebook Using Social Framework
Social Integration
The Sample App
Logging In
Using SLComposeViewController
Posting with a Custom Interface
Accessing User Timelines
Summary
Exercises
16. Working with Background Tasks
The Sample App
Checking for Background Availability
Finishing a Task in the Background
Implementing Background Activities
Summary
Exercises
17. Grand Central Dispatch for Performance
The Sample App
Introduction to Queues
Running on the Main Thread
Running in the Background
Running in an Operation Queue
Running in a Dispatch Queue
Summary
Exercises
18. Using Keychain to Secure Data
Introduction to the Sample App
Setting Up and Using Keychain
Summary
Exercises
19. Working with Images and Filters
The Sample App
Basic Image Data and Display
Core Image Filters
Face Detection
Summary
Exercises
20. Collection Views
The Sample App
Introducing Collection Views
Customizing Collection View and Flow Layout
Creating Custom Layouts
Collection View Animations
Summary
Exercises
21. Introduction to TextKit
Sample App
Introducing NSLayoutManager
Detecting Links Dynamically
Detecting Hits
Exclusion Paths
Content Specific Highlighting
Changing Font Settings with Dynamic Type
Summary
Exercises
22. Gesture Recognizers
Types of Gesture Recognizers
Basic Gesture Recognizer Usage
Introduction to the Sample App
Multiple Recognizers for a View
Custom UIGestureRecognizer Subclasses
Summary
Exercise
23. Accessing Photo Libraries
Sample App
The Assets Library
Enumerating Asset Groups and Assets
Displaying Assets
Saving to the Camera Roll
Dealing with Photo Stream
Summary
Exercises
24. Passbook and PassKit
The Sample App
Designing the Pass
Building the Pass
Signing and Packaging the Pass
Updating Passes Automatically
Summary
Exercises
25. Debugging and Instruments
Introduction to Debugging
Breakpoints
Working with the Debugger
Instruments
Summary
Exercises
Index
← Prev
Back
Next →
← Prev
Back
Next →