downloading tendie from url scheme

This commit is contained in:
leminlimez committed 2025-06-01 07:35:22 -04:00
1 parent 7c0cb386a7
commit 744a243080
6 files changed
+176 -2

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
//
// Haptic++.swift
// PsychicPaper
//
// Created by Hariz Shirazi on 2023-02-04.
//
import Foundation
import UIKit
class Haptic {
static let shared = Haptic()
private init() { }
func play(_ feedbackStyle: UIImpactFeedbackGenerator.FeedbackStyle) {
UIImpactFeedbackGenerator(style: feedbackStyle).impactOccurred()
}
func notify(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType) {
UINotificationFeedbackGenerator().notificationOccurred(feedbackType)
}
}