One Logo Pool Ball
Foundation · IOS API REFERENCE

SortComparator

protocol · iOS 15.0+ · SDK 27.1

@preconcurrency protocol SortComparator<Compared> : Hashable, Sendable

A comparison algorithm for a specified type. Objects that conform to ``SortComparator`` provide a comparison algorithm and storage for the sort order to use when comparing.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SortComparator.localizedStandard

Static protocol requirements cannot be called through an instance.

SortComparator.localized

Static protocol requirements cannot be called through an instance.

All Foundation types →