Latest 0.1.0
Homepage https://github.com/JTANISME/JTViewTap-Swift
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

JTViewTap-Swift is a extension for UIView, which can add tap and long Press action on UIView.

CI Status
Version
License
Platform

Usage

For UIView


view.whenTapped {
//Do sth when View was tapped
}

view.whenLongPress {
//Do sth when View was long pressed
}

view.removeLongPress()//remove view long press action

Installation

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

pod 'JTViewTap-Swift'

Author

JTANISME, [email protected]

License

JTViewTap-Swift is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "JTViewTap-Swift",
    "version": "0.1.0",
    "summary": "JTViewTap-Swift:",
    "description": "JTViewTap-Swift is a extension for UIView, which can add tap and long Press action on UIView.",
    "homepage": "https://github.com/JTANISME/JTViewTap-Swift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "jtanisme": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/JTANISME/JTViewTap-Swift.git",
        "tag": "0.1.0"
    },
    "source_files": [
        "JTViewTap-Swift",
        "JTViewTap-Swift/**/*.{h,m,swift}"
    ],
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This