iCloud for Developers: Automatically Sync Your iOS Data, Everywhere, All the Time Paperback
暫譯: iCloud 開發者指南:隨時隨地自動同步您的 iOS 數據 平裝本
Cesare Rocchi
- 出版商: Pragmatic Bookshelf
- 出版日期: 2013-09-10
- 售價: $910
- 貴賓價: 9.5 折 $865
- 語言: 英文
- 頁數: 145
- 裝訂: Paperback
- ISBN: 1937785602
- ISBN-13: 9781937785604
-
相關分類:
Apple Developer
海外代購書籍(需單獨結帳)
商品描述
Get up-to-date fast on the techniques you need get your applications iCloud-ready. With Apple's iCloud servers now available to developers, there's every reason to make synchronization a core feature of your product. You'll learn how to iCloud-enable the data formats you're most likely to use in an iOS application: key-value data, document-based data, and relational data. Using a simple grocery list application as an example, you'll find out how to configure any application to make the most of iCloud's capabilities.
Your app's users want their application data to be in sync as they switch from one device to another. Guided by iOS expert Cesare Rocchi, you'll start by learning how to configure an app and its resources for iCloud. Then, after a quick introduction to iCloud-supported data types, you'll work on using the simplest: key-value data.
Next, you'll find out how to get your document-based data (including media files), and even relational data working with iCloud. As you learn each new technique, you'll use it to synchronize yet another module of the book's sample app, Grocery, a simple shopping list that can be shared between two or more devices. You'll learn how to handle the kinds of conflicts likely to occur when you build apps that keep themselves in sync across phones and tablets, as well as how to deal with the notifications used by iCloud to broadcast changes as they occur.
As devices proliferate, synchronization is more important than ever. When you finish this book, you'll know how to make it a part of your own applications.
What You Need:
You should have Xcode 4.6.2 and iOS SDK 6.0 installed on your workstation. To write apps that interact with iCloud, you need to be a registered Apple developer. To test the synchronization of iCloud applications that you write, you'll need two iOS devices (either of which can be an iPhone, iPod, or iPad).
商品描述(中文翻譯)
快速掌握讓您的應用程式準備好使用 iCloud 所需的技術。隨著 Apple 的 iCloud 伺服器現在對開發者開放,將同步功能作為您產品的核心特性是有充分理由的。您將學習如何使您在 iOS 應用程式中最常使用的數據格式具備 iCloud 功能:鍵值數據、基於文檔的數據和關聯數據。以一個簡單的購物清單應用程式為例,您將了解如何配置任何應用程式,以充分利用 iCloud 的能力。
您的應用程式用戶希望在他們從一個設備切換到另一個設備時,應用程式數據能夠保持同步。在 iOS 專家 Cesare Rocchi 的指導下,您將首先學習如何為 iCloud 配置應用程式及其資源。然後,在簡要介紹 iCloud 支援的數據類型後,您將開始使用最簡單的:鍵值數據。
接下來,您將了解如何讓基於文檔的數據(包括媒體文件)甚至關聯數據與 iCloud 一起工作。在學習每一項新技術時,您將使用它來同步本書範例應用程式 Grocery 的另一個模組,這是一個可以在兩個或更多設備之間共享的簡單購物清單。您將學習如何處理在構建能夠在手機和平板電腦之間保持同步的應用程式時可能發生的衝突,以及如何處理 iCloud 用於廣播變更的通知。
隨著設備的增多,同步變得比以往任何時候都更重要。當您完成本書後,您將知道如何將其納入自己的應用程式中。
您需要的條件:
您的工作站上應安裝 Xcode 4.6.2 和 iOS SDK 6.0。要編寫與 iCloud 互動的應用程式,您需要成為註冊的 Apple 開發者。要測試您編寫的 iCloud 應用程式的同步,您需要兩個 iOS 設備(其中任何一個可以是 iPhone、iPod 或 iPad)。