Array

public extension Array where Element: RVS_GeneralObserverProtocol
public extension Array where Element: RVS_GeneralObservableProtocol

This allows us to extract elements from an Array in a fashion similar to a Dictionary.

It isn’t particularly efficient, but we’re not talking huge Arrays, here.

Available where Element: RVS_GeneralObserverProtocol

  • This allows us to treat an Array like a Dictionary.

    Declaration

    Swift

    subscript(inUUIDString: String) -> Element? { get }

    Return Value

    Either the element, or nil.

  • This allows us to treat an Array like a Dictionary.

    Declaration

    Swift

    subscript(inUUID: UUID) -> Element? { get }

    Return Value

    Either the element, or nil.

Available where Element: RVS_GeneralObservableProtocol

  • This allows us to treat an Array like a Dictionary.

    Declaration

    Swift

    subscript(inUUIDString: String) -> Element? { get }

    Return Value

    Either the element, or nil.

  • This allows us to treat an Array like a Dictionary.

    Declaration

    Swift

    subscript(inUUID: UUID) -> Element? { get }

    Return Value

    Either the element, or nil.