Platforms to show: All Mac Windows Linux Cross-Platform
CKLocationSortDescriptorMBS class
Super class: NSSortDescriptorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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.
- property relativeLocation as Variant
- 2 methods
- method Constructor Private
- method Constructor(key as string, relativeLocation as Variant)
- shared method Available as Boolean
Super class NSSortDescriptorMBS
- event Comparator(obj1 as Variant, obj2 as Variant) as Integer
- 4 properties
- 4 methods
- method compareObject(obj1 as variant, obj2 as variant) as Integer
- method Constructor(key as string, ascending as boolean)
- method Constructor(key as string, ascending as boolean, SelectorName as String)
- method reversedSortDescriptor as NSSortDescriptorMBS
- 8 shared methods
- shared method sortDescriptorWithKey(key as string, ascending as boolean) as NSSortDescriptorMBS
- shared method sortDescriptorWithKeyComparator(key as string, ascending as boolean, Comparator as NSComparatorDelegateMBS, tag as Variant = nil) as NSSortDescriptorMBS
- shared method sortDescriptorWithKeyWithCaseInsensitiveCompare(key as string, ascending as boolean) as NSSortDescriptorMBS
- shared method sortDescriptorWithKeyWithCompare(key as string, ascending as boolean) as NSSortDescriptorMBS
- shared method sortDescriptorWithKeyWithCompare(key as string, ascending as boolean, Options as Integer) as NSSortDescriptorMBS
- shared method sortDescriptorWithKeyWithLocalizedCaseInsensitiveCompare(key as string, ascending as boolean) as NSSortDescriptorMBS
- shared method sortDescriptorWithKeyWithLocalizedCompare(key as string, ascending as boolean) as NSSortDescriptorMBS
- shared method sortDescriptorWithKeyWithSelector(key as string, ascending as boolean, SelectorName as String) as NSSortDescriptorMBS
- delegate NSComparatorDelegateMBS(obj1 as Variant, obj2 as Variant, tag as variant) as Integer
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin, MBS Main Plugin.
CKFetchWebAuthTokenOperationMBS - CKMarkNotificationsReadOperationMBS