Haptica
Haptica copied to clipboard
Easy Haptic Feedback Generator 📳
How to stop while playing a long pattern Haptic.play("OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", delay: 0.1) I want to stop this when this is playing. Please show me a way to do it. thanks
I tried with the following pattern but nothing simulates a double tap, how do I do that? addButton(pattern: "O") addButton(pattern: "o") addButton(pattern: ".") addButton(pattern: ".-.") addButton(pattern: "o-o") addButton(pattern: "O-O") addButton(pattern:...
Thanks for this great library! I'm trying to use it in a table view, and I have the following code: ```swift func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { Haptic.impact(.medium).generate()...
Has anyone figured out the fireworks sequence and/or is there a collection of sequences out there to reuse?
## Overview As the technology for haptic feedback evolves, new syntax and methods are introduced to improve performance and expand capabilities. It has come to my attention that this repository's...