WeakRef

public class WeakRef<T> where T : AnyObject
  • Declaration

    Swift

    public weak var value: T?
  • Declaration

    Swift

    public init(_ value: T?)