2 Replies
      Latest reply on Jul 17, 2018 11:24 AM by JoePasadena
      JoePasadena Level 1 Level 1 (0 points)

        How to fetchChanges from iCloud?

        My app have a local cache, I want to fetch changes from where it last interacted with iCloud.

        1). use a predicate using own condition like id or date field in the data type? (id > maxId)

        2). use the apple changedToken by saving it on disk every time after fetchChagnes completed?

        what is the changeToken dataType here?

        let changeToken = … // Read change token from disk