📜  如何不 bool bindng swiftui - Swift 代码示例
📅  最后修改于: 2022-03-11 15:01:01.384000             🧑  作者: Mango
代码示例1
prefix func ! (value: Binding) -> Binding {
Binding(
get: { !value.wrappedValue },
set: { value.wrappedValue = !$0 }
)
}