Mercurial > public > simoleon
comparison Simoleon/Helpers/HapticsHelper.swift @ 171:70f0625bfcf1
Merge pull request #17 from denniscm190/development
open source project
committer: GitHub <noreply@github.com>
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Tue, 12 Oct 2021 16:17:35 +0200 |
parents | f5de15e06c77 |
children |
comparison
equal
deleted
inserted
replaced
146:f10b0e188905 | 171:70f0625bfcf1 |
---|---|
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 HapticsHelper { | |
11 | |
12 // MARK: - Simple success | |
13 func simpleSuccess() { | |
14 let generator = UINotificationFeedbackGenerator() | |
15 generator.notificationOccurred(.success) | |
16 } | |
17 } |