Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
About This eBook
Title Page
Copyright Page
Contents at a Glance
Contents
Preface
Who Should Read This Book
Downloading the Example Files
How This Book Is Organized
Acknowledgments
About the Author
We Want to Hear from You!
Reader Services
Introduction
I: Introducing iCloud
1. Exploring iCloud and Its User Experience
Looking at Cloud Computing
Understanding the iCloud Paradigm
Making the Round Trip
Chapter Summary
Exercises
2. Setting Up iCloud for Development
Managing App Security on iOS and OS X
Looking Inside the iCloud Basics
Using iCloud in Your App
Chapter Summary
Exercises
II: Using the APIs
3. Introducing the APIs and the First Apps
Getting Started as an Apple Developer
Looking at the APIs
Introducing the Built-In Data Apps
Wiring Up the Interfaces
Chapter Summary
Exercises
4. Working with the AddressBook API for Contacts
Considering the AddressBook API on iOS and OS X
Sending Mail from the iOS App
Sending Mail from the OS X App
Using Property Lists for Storing and Syncing
Chapter Summary
Exercises
5. Managing Calendars and Reminders with the Event Kit API
Exploring the Event Class Hierarchy
Setting OS X Permissions
Working with the Calendar Database
Adding a Reminder to the App on iOS
Adding an Event to the App on OS X
Chapter Summary
Exercises
6. Protecting the Privacy of User Data
The Need for Privacy
Looking at Apple’s Rules and Guidelines
Best Practices in App Privacy
Chapter Summary
Exercises
III: Using the Technologies
7. Introducing Blocks, Threads, and Notifications
Catching Up with Blocks and Threads
Getting Up to Speed with Notifications
Receiving Notification of iCloud Availability Changes
Introducing the Second Project
Getting Ready to Move On
Chapter Summary
Exercises
8. Using Key-Value Coding (KVC)
Setting Up a Controlled Testing Environment
Implementing KVC
Testing iCloud on iOS Simulator
Preparing Your Project for Testing
Sharing the Key-Value Store for the Round Trip
Setting Up and Using NSUbiquitousKeyValueStore
Chapter Summary
Exercises
9. Using Preferences, Settings, and Keychains with iCloud
Using Property Lists
Working with User Defaults
Registering Defaults
Chapter Summary
Exercises
10. Managing Persistent Storage with Core Data
Understanding the Goals of Core Data
Structuring Data
Understanding How Core Data Works with iCloud
Introducing the Core Data Project
Using the Xcode Data Modeling Tool
Examining the Core Data Stack
Chapter Summary
Exercises
11. Using Xcode Workspaces for Shared Development
Building on the Digital Hub
Reviewing Xcode File Management
Setting Up a Multiproject Workspace
Creating a Multiproject Workspace
Chapter Summary
Exercise
12. Adding Data to Apps with Bundles and Resources
Packages, Bundles, and Resources
Looking at Sandboxed Files
Including Property Lists
Including a Core Data Store
Chapter Summary
Exercises
IV: Using iCloud Documents and Data
13. Adding the iCloud Infrastructure
Exploring the Workspace for the App
Debugging iCloud Apps with developer.icloud.com
Building the App
Creating the Shared Folder
Creating the App’s Classes
Chapter Summary
Exercises
14. Working with File Wrappers in iCloud
Exploring Files, File Wrappers, and Documents
How Users Manage iCloud Files
Starting the Placid Project
Writing the Code
Working with the Storyboard
Chapter Summary
Exercises
15. Working with iOS Documents
Planning the App’s Structure
Starting the Loon Project
Writing the Code
Chapter Summary
Exercises
16. Working with OS X Documents
Evolution of NSDocument and UIDocument Differences
Planning the Project
Starting the Chazy Project
Writing the Code
Testing the App
Chapter Summary
Exercises
17. Working with Core Data and iCloud
Looking at the iCloud Core Data Implementation
Fallback Stores
Setting Up and Managing Persistent Stores
Managing Account Changes
Database Migration
Chapter Summary
Exercises
18. Completing the Round Trip
How the User Sees the Round Trip
How the Developer Sees the Round Trip
Configuring the Shared Ubiquity Container
Using a Shared iCloud Controller
Moving Documents to iCloud
Moving Documents from iCloud to Local Storage
Chapter Summary
Exercises
Index
← Prev
Back
Next →
← Prev
Back
Next →