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

EasyButton

Swift version CocoaPods compatible Carthage compatible

UIButton extension for setting styles easily

Usage

Example

// Set a darker color than the background color to the highlighted background color automatically
let lightColorButton = UIButton.button(title: "Hello World", titleColor: .white, backgroundColor: .orange, cornerRadius: 6)

// Set a lighter color than the background color to the highlighted background color automatically
let darkColorButton = UIButton.button(title: "Hello World", titleColor: .white, backgroundColor: .darkGray, cornerRadius: 6)

2017-12-03 1 13 44

Installation

Carthage

Cartfile

github "morishin/EasyButton"

CocoaPods

Podfile

pod 'EasyButton'

LICENSE

MIT

About

UIButton extension for setting styles easily

Topics

Resources

Packages

No packages published
You can’t perform that action at this time.