Changes for iOS 13 beta 6

This commit is contained in:
Shadowfacts 2019-08-07 16:59:11 -04:00
parent 7064ae950e
commit 0df8ada3d6
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
import SwiftUI
@propertyWrapper
struct Preference<Value>: BindingConvertible {
struct Preference<Value> {
let path: WritableKeyPath<Preferences, Value>
let binding: Binding<Value>
@ -32,7 +32,7 @@ struct Preference<Value>: BindingConvertible {
}
@propertyWrapper
struct MappedPreference<Value, PrefValue>: BindingConvertible {
struct MappedPreference<Value, PrefValue> {
let path: WritableKeyPath<Preferences, PrefValue>
let fromPref: (PrefValue) -> Value
let toPref: (Value) -> PrefValue