HapticFeedbackKit icon indicating copy to clipboard operation
HapticFeedbackKit copied to clipboard

Programmatically trigger haptic feedback

Open JamesSedlacek opened this issue 1 year ago • 0 comments

import SwiftUI

protocol HapticFeedbackServiceable {
    func perform(_ feedback: SensoryFeedback)
}

I'm imaging we would create a service to handle this and be able to inject it into views/viewModels.

JamesSedlacek avatar Dec 29 '23 19:12 JamesSedlacek