Instance Property

keyPath

The key path that specifies the property to be compared during sorting.

Declaration

var keyPath: AnyKeyPath? { get }

See Also

Getting Information About a Sort Descriptor

var ascending: Bool

A Boolean value that indicates whether the receiver specifies sorting in ascending order.

var key: String?

The key that specifies the property to be compared during sorting.

var selector: Selector?

The selector used when comparing objects.

var comparator: Comparator

The comparator for the sort descriptor.