Weak

open class Weak<T> : Hashable, Equatable where T : AnyObject

Represents a weak variable of a chosen type. This class implements Hashable and Equatable.

  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)