The hash function to use when combining the components of the sort order.
Instance Method
インスタンスメソッド
hash(into:)
Hashes the essential components of the sort order by feeding them into the specified hash function.
Availability 有効性
- iOS 15.0+
- iPadOS 15.0+
- macOS 12.0+
- Mac Catalyst 15.0+
- tvOS 15.0+
- watchOS 8.0+
- Xcode 13.0+
Technology
- Foundation ファウンデーション
Declaration 宣言
func hash(into hasher: inout Hasher
)
Parameters パラメータ
hasher
Relationships 関係
From Protocol 由来プロトコル
See Also 参照
Comparing Sort Orders
static func == (SortOrder, SortOrder) -> Bool
A Boolean value that indicates whether two sort orders are equal.
static func != (SortOrder, SortOrder) -> Bool
A Boolean value that indicates whether two sort orders are unequal.
var hashValue : Int
The hashed value of the sort order.