Instance Method

hash(into:)

Hashes the essential components of this value by feeding them into the given hasher.

Declaration

func hash(into hasher: inout Hasher)

Discussion

NSObject implements this by feeding self.hash to the hasher.

NSObject.hash(into:) is not overridable; subclasses can customize hashing by overriding the hash property.

Relationships

From Protocol

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software