Binding

extension Binding

SwiftUIX

  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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