To run the example project, clone the repo, and run pod install
from the Example directory first.
TLButton is IBDesignable and therefore works with Interface Builder. This allows you to customize your buttons, such as setting rounded corners or shadows and view the result directly in your storyboard:
TLButton allows you to pass a code block to the button for given events.
button.on(event: .touchUpInside) {
print("Tapped button")
}
Swift 3.0+
TLButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TLButton"
Thomas Lextrait, thomas.lextrait@gmail.com
TLButton is available under the MIT license. See the LICENSE file for more info.