         }
     }
 }
-

    public func generateFeedback() {
        switch self {
            
        case .impact:
            HapticFeedback.impactGenerator.impactOccurred()
            
        case .selection:
            HapticFeedback.selectionGenerator.selectionChanged()

    public func prepare() {
        switch self {
            
        case .impact(let style):
            switch style {
            
            case .light:
                HapticFeedback.lightImpactGenerator.prepare()

            case .medium:
                HapticFeedback.mediumImpactGenerator.prepare()

            case .heavy:
                HapticFeedback.heavyImpactGenerator.prepare()

            }
            
        case .selection:
            HapticFeedback.selectionGenerator.prepare()
