StyleChain
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
StyleChain is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'StyleChain'
Usage
UIButton()
.style
.frame(CGRect(x: 0, y: 0, width: 120, height: 30))
.center(view.center)
.backgroundColor(UIColor.red)
.title("Hello World", for: .normal)
.titleColor(UIColor.white, for: .normal)
.isEnabled(false)
.cornerRadius(15)
.masksToBounds(true)
.systemFont(of: 15)
.installed
Author
G-Xi0N, [email protected]
License
StyleChain is available under the MIT license. See the LICENSE file for more info.