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
To run the example project, clone the repo, and run pod install
from the Example directory first.
AssistiveButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "AssistiveButton"
Or, if you’re using Carthage, add SwViewCapture to your Cartfile:
github "zixun/AssistiveButton"
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)
name: 陈奕龙
twitter: @zixun_
email: chenyl.exe@gmail.com
github: zixun
blog: 子循(SubCycle)
AssistiveButton is available under the MIT license. See the LICENSE file for more info.