Skip to main content

Apple adds server API to CloudKit, unlocking new developer possibilities for the iCloud service

Apple has quietly added a server-side API to CloudKit, following an announcement on the developer news blog. This will enable developers to add a lot of functionality to apps powered by CloudKit, enabling developers to interact with the iCloud CloudKit database outside of user interaction with iOS, Mac or web apps. The web service API enables developers to run independent code on servers that can add, delete and modify records in the CloudKit stack.

Until now, interaction with CloudKit has been limited to the APIs Apple provided in apps. Although this was useful, it lacked the options for more advanced use — most modern apps rely on servers to perform tasks whilst users are away. With the addition of the web API, developers can create many more types of applications using CloudKit as the backend. For instance, an RSS reader app can now add new feed items to the CloudKit stack from the server. Before, this action could only occur when a user opened a CloudKit-powered app, which was essentially impractical and meant developers had to use other tools.

Expect CloudKit adoption to rise with this announcement. The server capabilities dramatically increase the chance that a developer can use CloudKit for their new app where they wouldn’t have been able to before, as so many modern apps rely on some kind of persistent server component. The lack of native SDKs for non-Apple platforms may continue to limit uptake, however.

Parse, a similar cloud framework, has recently announced it will shut down next year. With the inclusion of a server side request endpoint, CloudKit is now positioned to fully replace Parse as a cloud database engine. The timing of the CloudKit announcement is probably coincidental, but it serves to attract ex-Parse users who are now actively looking for a new platform to build on. Developers can find more information on adopting the new CloudKit features here. For users, expect to see more capable iOS and Mac apps built on top of CloudKit in the future.

 

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. rnc - 9 years ago

    Apple: chew your own dog food, and show make great Apps with CloudKit.

    • … but they do.

      Most of the iCloud.com apps are using CloudKit. So is Apple’s News app and iCloud Backup. Completely native; no Apple magic used there (at least that’s what they said to the developers at WWDC last year).

    • Randy March - 9 years ago

      Well, they’ve been using it quite a bit already! https://developer.apple.com/videos/play/wwdc2015-704/ ;-)

      “Notes is now using CloudKit on iOS, and OS X to synchronize your notes between your devices. The new app we introduces yesterday, News is entirely built on the CloudKit public database. Even the WWDC app is now using CloudKit this year. And last but not least iCloud Backup, was ported in iOS 9 to use CloudKit. So this is actually — this one is actually a bigger deal than it seems because iCloud Backup is our biggest service in terms of number of users, amount of data, and the number of requests per seconds. We’ve also heard some good feedback from you as developers.”

  2. iCloud lol

    Seriously…LOL.

  3. Is it possible that Apple acquired Parse, given the timing of it’s shutdown and CloudKit’s API release?

    • Jonah Heemstra - 9 years ago

      I think Parse was owned by Facebook, so that would be a strange buy-off. However, Parse’s shut-down is pretty shady so you might be on to something!

    • giobox1 - 9 years ago

      Extremely unlikely I’d say – this really just seems like exposing existing CloudKit functionality over web services, in addition to the native application interfaces iOS apps can use. You don’t really need to acquire a third party’s tech or expertise to do something like that normally.

      I think Parse’s shutdown is much more likely related to not being all that strategically relevant to Facebook’s business objectives. Parse always seemed a strange fit there.

Author

Avatar for Benjamin Mayo Benjamin Mayo

Benjamin develops iOS apps professionally and covers Apple news and rumors for 9to5Mac. Listen to Benjamin, every week, on the Happy Hour podcast. Check out his personal blog. Message Benjamin over email or Twitter.


Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications