In the last chapter we got our app working with dynamic data pulled from the CloudKit servers. In this chapter we will update our app to allow us to change existing CloudKit data, create new data for our record types, and finally to delete data from CloudKit servers.
Updating Existing Data
Let’s take a look at how to update a park when it is changed within our app. First, we need to update our API with a helper method to prevent code duplication. This helper method’s job is to convert the park CKRecord into a Park object. Copy the code ...