TapTic 1.0.1

TapTic 1.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by KimDarren.



TapTic 1.0.1

  • By
  • KimDarren

TapTic

Use iOS (>=10.0) TapTic API easily with Swift.

Usage

  1. First, import TapTic

    import TapTic
  2. Make TapTic with type.

    TapTic.make(.impact(.heavy))

    It is simple, right?

TapTic Feedback types

There’s three feedback types in iOS.

Button with TapTic

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

Installation

  • Install with Cocoapods

    pod 'TapTic', '~> 1.0'

Requirements

  • iOS >= 10.0
    • But, feel free to use TapTic and TapTicButton under iOS 10.0. The codes to handle exceptions under iOS10 are included.

Demo

Run Demo on your iPhone. (It is so bad that cannot feel TapTic with iOS Simulator)

Contribution

I’m a Swift-learner. If some bad codes are included in this project, PLEASE contribute with Pull request.

Author

TapTic is written by Taejun Kim (KimDarren).

Licenses

TapTic is under MIT license. See the LICENSE for more info.