Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Forgotten Cloud

The Forgotten Cloud

Introduced in 2014, CloudKit should have been by now the go-to framework for device sync and document persistence. However, it seems to float somewhere between obscurity and scant interest from devs.
In this talk, I've revisited the core concepts behind CloudKit APIs including CloudKit.js (the new library that provides web access to iCloud app data) and try and convince you to give it a go.

Paul Ardeleanu

January 29, 2016

Transcript

36 slides
  1. let container = CKContainer.defaultContainer() let container = CKContainer(identifier: "iCloud.com.hello24.dotSwift") let

    privateDatabase = container.privateCloudDatabase let publicDatabase = container.publicCloudDatabase cloudDatabase.saveRecord(record) { (savedRecord, error) -> Void in … } cloudDatabase.deleteRecordWithID(recordID, completionHandler: { (deletedRecordID, error) -> Void in … }) cloudDatabase.performQuery(query, inZoneWithID: nil) { (records, error) -> Void in … }
  2. Why CloudKit? • Easy of integration • Security & Privacy

    • Free authentication • [Partial] Ubiquity
  3. 0% 25% 50% 75% 100% 1 2 3 4 5

    6 7 8 9 10 Customer lifetime value Period of usage
  4. 0% 25% 50% 75% 100% 1 2 3 4 5

    6 7 8 9 10 Customer lifetime value Period of usage

More Decks by Paul Ardeleanu

Other Decks in Programming