Latest 1.0.0
Homepage https://github.com/devxoul/TouchAreaInsets
License MIT
Platforms ios 8.0
Authors

Swift
Build Status
CocoaPods

Touch area insets for UIView.

At a Glance

The code below expands button’s touch area for 20px.

let button = UIButton()
button.touchAreaInsets = UIEdgesInsets(top: 20, left: 20, bottom: 20, right: 20)

Installation

pod 'TouchAreaInsets'

License

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

Latest podspec

{
    "name": "TouchAreaInsets",
    "version": "1.0.0",
    "summary": "Touch area insets for UIView",
    "homepage": "https://github.com/devxoul/TouchAreaInsets",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Suyeol Jeon": "[email protected]"
    },
    "source": {
        "git": "https://github.com/devxoul/TouchAreaInsets.git",
        "tag": "1.0.0"
    },
    "source_files": "Sources/*.swift",
    "platforms": {
        "ios": "8.0"
    },
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "3.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This