view Simoleon/Helpers/HapticsHelper.swift @ 156:84137052813d

Refactor code
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Sat, 28 Aug 2021 11:15:25 +0100
parents Simoleon/Jobs/HapticsController.swift@8afba86ab8dd
children f5de15e06c77
line wrap: on
line source

//
//  SimpleSuccess.swift
//  Simoleon
//
//  Created by Dennis Concepción Martín on 20/07/2021.
//

import SwiftUI

class Haptics {
    
    // MARK: - Simple success
    func simpleSuccess() {
        let generator = UINotificationFeedbackGenerator()
        generator.notificationOccurred(.success)
    }
}