Latest 1.0.1
Homepage https://github.com/KimDarren/TapTic
License MIT
Platforms ios 8.0, requires ARC
Authors

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

Swift
CocoaPods

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.

Latest podspec

{
    "name": "TapTic",
    "version": "1.0.1",
    "summary": "Use iOS TapTic API easily with Swift.",
    "homepage": "https://github.com/KimDarren/TapTic",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "KimDarren": "[email protected]"
    },
    "source": {
        "git": "https://github.com/KimDarren/TapTic.git",
        "tag": "1.0.1"
    },
    "source_files": "Sources/*.swift",
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This