Array

public extension Array where Element: AnyObject

This allows us to declare an array of weak references to be an array of their contents.

Note

Only currently allocated references will be included, and this establishes a strong reference.

Available where Element: AnyObject

  • Casting Initializer.

    This creates an Array of strong references to the weak references in the array of weak ref instances. Only the currently viable instances will be included, and the hash keys are excluded.

    Declaration

    Swift

    init(_ inRefs: [RVS_WeakObjectReference<Element>])

    Parameters

    inRefs

    An array of RVS_WeakObjectReference instances.