Carson Katri
|
9d347f49f3
|
Add Preferences (#307)
This adds the `PreferenceKey` protocol and related modifiers.
* Initial PreferenceKey implementation
* Don't send default value to match SwiftUI behavior
* Add CustomDebugStringConvertible conformance to Color
* PR fixes
* Fix onAppear and preference modification calls
* Attempt macOS build fix
* Fix <background/overlay>PreferenceValue
* Implement/revise transformPreference
* Fix linter warnings, apply SwiftFormat
Co-authored-by: Max Desiatov <max@desiatov.com>
|
2020-12-04 11:19:14 +00:00 |