TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Feb 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by KimDarren.
Use iOS (>=10.0) TapTic API easily with Swift.
First, import TapTic
import TapTic
Make TapTic with type.
TapTic.make(.impact(.heavy))
It is simple, right?
There’s three feedback types in iOS.
This project includes TapTicButton
, subclass of UIButton
.
Initialize button with feedbackType
let button = TapTicButton(feedbackType: .selection)
Or, set feedbackType
after initialize the button.
let button = TapTicButton()
button.feedbackType = .selection
Install with Cocoapods
pod 'TapTic', '~> 1.0'
TapTic
and TapTicButton
under iOS 10.0. The codes to handle exceptions under iOS10 are included.Run Demo on your iPhone. (It is so bad that cannot feel TapTic with iOS Simulator)
I’m a Swift-learner. If some bad codes are included in this project, PLEASE contribute with Pull request.
TapTic is written by Taejun Kim (KimDarren).
TapTic is under MIT license. See the LICENSE for more info.