HapticFeedbackKit
HapticFeedbackKit copied to clipboard
Removing observable class boilerplate and using native @AppStoge
This is just a quick proof of concept:
- @AppStorage is already observable so no need to write observable class boilerplate code.
- Using dynamic property wrapper one can easily share stored values in multiple views/viewmodifiers.
- Projected value gives native bool binding for toggle, another boilerplate gone.