EditValueView
Library that makes easy to display property edit screens for SwiftUI.
Demo
String | Bool | Int |
---|---|---|
![]() |
![]() |
![]() |
Double | Date | Color |
---|---|---|
![]() |
![]() |
![]() |
Array | Dictionary |
---|---|
![]() |
![]() |
Enum(CaseIterable) | Enum(CaseIterable & RawRepresentable) |
---|---|
![]() |
![]() |
Codable |
---|
![]() |
Usage
EditValueView(target, key: "name", keyPath: \Item.name)
.onUpdate { target, newValue in
// update
}