AssistiveButton
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
AssistiveButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "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: chenyl.exe@gmail.com
github: zixun
blog: 子循(SubCycle)
License
AssistiveButton is available under the MIT license. See the LICENSE file for more info.