MwxInput

@dynamicMemberLookup
public struct MwxInput : AnyInput

A piece of view model input.

You 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

    public var dictionary: [String : Any]?

Dynamic Lookup

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

    Declaration

    Swift

    public 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.