mlem
mlem copied to clipboard
[2.0] Haptic Model
iOS 17 includes a new .sensoryFeedback view modifier that could be useful for this.
We could attach the modifier to ContentView, and trigger it via calls to a HapticModel singleton. This should be relatively simple to do.
It looks like .sensoryFeedback has many different types of haptic feedback built-in, including .success, .error etc. We may want to consider using these over the custom ones we use currently.