kodeco.com Forums

CloudKit Tutorial: Getting Started

Learn how to store your app's data in the cloud in this iOS 8 CloudKit tutorial!

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/2262-cloudkit-tutorial-getting-started

How do you know in distanceToLocation:fromLocation whether the radius should be in meters or kilometers? I have seen it both ways in Apple’s documentation. Take a look at Listing 7 in the CKQuery Class Reference. It shows the radius is in meters.