Skip to content
No description, website, or topics provided.
Swift Objective-C C Shell Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
TLButton
.gitignore
.swift-version
.travis.yml
LICENSE
README.md
TLButton.podspec

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.