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.

B726bf6980ae838cb19d2f0ee2cec9ef?s=128

Paul Ardeleanu

January 29, 2016
Tweet

Transcript

  1. THE FORGOTTEN CLOUD Paul Ardeleanu

  2. None
  3. None
  4. WWDC14: CloudKit

  5. None
  6. None
  7. None
  8. Containers are shareable

  9. None
  10. public private

  11. public

  12. public

  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. None
  20. None
  21. 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 … }
  22. None
  23. None
  24. WWDC15: CloudKit.JS

  25. https://www.flickr.com/photos/nathansmith/4704268314

  26. None
  27. None
  28. None
  29. None
  30. Why CloudKit? • Easy of integration • Security & Privacy

    • Free authentication • [Partial] Ubiquity
  31. Peace of mind

  32. Wishlist • Complete ubiquity • Server-side scripting

  33. public

  34. 0% 25% 50% 75% 100% 1 2 3 4 5

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

    6 7 8 9 10 Customer lifetime value Period of usage
  36. THANK YOU Paul Ardeleanu @pardel