Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

TLButton

CI Status Version License Platform

Example

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

Interface Builder

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:

Interface Builder

Events

TLButton allows you to pass a code block to the button for given events.

button.on(event: .touchUpInside) {
    print("Tapped button")
}

Requirements

Swift 3.0+

Installation

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

pod "TLButton"

Author

Thomas Lextrait, thomas.lextrait@gmail.com

License

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

You can’t perform that action at this time.