Binding

extension Binding

SwiftUIX

  • Undocumented

    Declaration

    Swift

    public func onSet(_ body: @escaping (Value) -> ()) -> Binding<Value>
  • Undocumented

    Declaration

    Swift

    public func onChange(perform action: @escaping (Value) -> ()) -> Binding<Value> where Value : Equatable
  • Undocumented

    Declaration

    Swift

    public func onChange(toggle value: Binding<Bool>) -> Binding<Value> where Value : Equatable
  • Undocumented

    Declaration

    Swift

    public func withDefaultValue<T>(_ defaultValue: T) -> Binding<T> where Value == Optional<T>