BLUE
T
Typ0genius
@typ0genius.bsky.social
Trying to develop software that is actually useful. Working with #SwiftUI and #NuxtJS 🐳 WhaleDeck whaledeck.io 📊 Umami Manager apple.co/40MP50F
34 followers0 following183 posts
Ttyp0genius.bsky.social

I worked today for the first time with haptic feedback. Since iOS 17, there is the handy modifier called sensoryFeedback including many predefined patterns. You just need to select a trigger and a pattern, and that's it. Learn more here: developer.apple.com/documentatio...#iosdev#swift

1

This is great! I’ve been using it a lot in my app 「Glu Sight」 when users have haptics enabled. About a year ago, I had to manually create haptic “sensations” using the old API. This new approach is more consistent across iOS and familiar to users, which is nice.

0
T
Typ0genius
@typ0genius.bsky.social
Trying to develop software that is actually useful. Working with #SwiftUI and #NuxtJS 🐳 WhaleDeck whaledeck.io 📊 Umami Manager apple.co/40MP50F
34 followers0 following183 posts