Latest 1.2.0
Homepage https://github.com/zixun/AssistiveButton
License MIT
Platforms ios 8.0
Authors

Swift 3.0+
Platform
MIT
Carthage compatible

Context

This library is derived from the GodEye project which can automaticly disply Log,Crash,Network,ANR,Leak,CPU,RAM,FPS,NetFlow,Folder and etc with one line of code. Just like god opened his eyes

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

CocoaPods

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

pod "AssistiveButton"

Carthage

Or, if you’re using Carthage, add SwViewCapture to your Cartfile:

github "zixun/AssistiveButton"

Usage

let frame = CGRect(x: 0, y: 100, width: 48, height: 48)
let btn = AssistiveButton(frame: frame, normalImage: UIImage(named: "test")!)

btn.didTap = { () -> () in
    print("abc")
}
self.view.addSubview(btn)

Author

name: 陈奕龙

twitter: @zixun_

email: [email protected]

github: zixun

blog: 子循(SubCycle)

License

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

Latest podspec

{
    "name": "AssistiveButton",
    "version": "1.2.0",
    "summary": "Simple Assistive Button.",
    "description": "Simple Assistive Button imitate the iOS system AssistiveTouch.",
    "homepage": "https://github.com/zixun/AssistiveButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "zixun": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zixun/AssistiveButton.git",
        "tag": "1.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "AssistiveButton/Classes/**/*"
}

Pin It on Pinterest

Share This