Model

public final class Model : ObservableObject

Undocumented

Stored Properties

  • Undocumented

    Declaration

    Swift

    @Published
    public var state: [String : Any] { get set }

Initialization

  • Undocumented

    Declaration

    Swift

    public init()

Methods

  • Undocumented

    Declaration

    Swift

    public func binding<T>(for binding: Binding<T>) -> SwiftUI.Binding<T> where T : Decodable, T : Encodable
  • Undocumented

    Declaration

    Swift

    public func binding<T, U>(for binding: Binding<T>, map: (T) -> U) -> SwiftUI.Binding<U> where T : Decodable, T : Encodable
  • Undocumented

    Declaration

    Swift

    public func action(for action: Action?) -> () -> Void
  • Undocumented

    Declaration

    Swift

    public func action<T>(for action: Action?) -> (T) -> Void