Skip to content

Easy way to use haptic feedback through Taptic Engine in iOS.

License

Notifications You must be signed in to change notification settings

derekcoder/Tapticc

Repository files navigation

Tapticc

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 10.0+
  • iPhone 7+
  • Swift 4.2+

Installation

Tapticc is available through CocoaPods. To install it, simply add the following line to your Podfile:

Swift 5.0

pod 'Tapticc', '~> 1.1'

Swift 4.2

pod 'Tapticc', '1.0'

Usage

Create haptics to simulate physical impacts

impact

Create haptics to communicate successes, failures, and warnings

notification

Create haptics to indicate a change in selection

selection

Prepare

prepare

The prepare() method is optional; however, it is highly recommended. Calling this method helps ensure that your feedback has the lowest possible latency.

Apps Using Tapticc

Please tell me or make pull request if you use this library in your application 😉

Grape
Coderx for GitHub

Author

License

Tapticc is available under the MIT license. See the LICENSE file for more info.