edgar-zigis / CocoaButton

Interactive UIButton with loading capability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CocoaButton

Stylish UIButton with loading animation capability.

Minimum iOS version 11.0

alt text

Carthage

github "edgar-zigis/CocoaButton" ~> 1.0.0

Cocoapods

pod 'CocoaButton', '~> 1.0.0'

Usage

let v = CocoaButton()
v.backgroundColor = UIColor(displayP3Red: 49/255, green: 190/255, blue: 169/255, alpha: 1)
v.shadowColor = UIColor(red: 94/255, green: 186/255, blue: 187/255, alpha: 0.6)
v.startLoading() //  -> starts loader
v.stopLoading() //  -> stops loader

Remarks

It can be used both programmatically and with storyboards. It has all the features of the UIButton. Samples are available at CocoaButtonTest

About

Interactive UIButton with loading capability

License:MIT License


Languages

Language:Swift 91.9%Language:Ruby 4.6%Language:Objective-C 3.5%