comparison 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
comparison
equal deleted inserted replaced
155:681f2cbe8c7f 156:84137052813d
1 //
2 // SimpleSuccess.swift
3 // Simoleon
4 //
5 // Created by Dennis Concepción Martín on 20/07/2021.
6 //
7
8 import SwiftUI
9
10 class Haptics {
11
12 // MARK: - Simple success
13 func simpleSuccess() {
14 let generator = UINotificationFeedbackGenerator()
15 generator.notificationOccurred(.success)
16 }
17 }