Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CKLocationSortDescriptorMBS class

Super class: NSSortDescriptorMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CloudKit MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: A CKLocationSortDescriptor object sorts records containing location data based on their distance from a location that you specify.
You can add a location sort descriptor to your queries when searching for records. At creation time, you must provide the sort descriptor with a key whose value is a CLLocation object. The sort descriptor uses the value of that key to perform the sort.

Distances are computed by drawing a direct line between the two locations that follows the curvature of the Earth. Distances do not take into account altitude changes between the two locations.
Subclass of the NSSortDescriptorMBS class.

Feedback, Comments & Corrections

Super class NSSortDescriptorMBS

This class has no sub classes.

The items on this page are in the following plugins: MBS Mac64bit Plugin, MBS Main Plugin.

CKFetchWebAuthTokenOperationMBS   -   CKMarkNotificationsReadOperationMBS

The biggest plugin in space...

MBS Xojo Chart Plugins