Associated

open class Associated<T>: NSObject, NSCopying

Undocumented

  • Undocumented

    Declaration

    Swift

    open var closure: T?
  • Default initializer with closure

    Declaration

    Swift

    public convenience init(closure: T?)

    Parameters

    value

    Value

  • Default copy function

    Declaration

    Swift

    @objc open func copy(with zone: NSZone?) -> Any

    Parameters

    zone

    Zone

    Return Value

    Copied instance