AnyInput

public protocol AnyInput

You conform to the AnyInput protocol to define the input generated and passed to each presented view model for initialiation.

Store

  • The dictionary that stores all input chunks of data that could be dynamically looked up.

    Declaration

    Swift

    var dictionary: [String : Any]? { get set }

Dynamic Lookup

  • Call this subscript to dynamically lookup chunks of data stored in input dictionary.

    Declaration

    Swift

    subscript(dynamicMember string: String) -> Any? { get }

    Parameters

    string

    A String for the key to get value of the input data chunk.

    Return Value

    The value for input data check.