Skip to content

Interactive UIButton with loading capability

License

Notifications You must be signed in to change notification settings

keyahno/CocoaButton

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 91.9%
  • Ruby 4.6%
  • Objective-C 3.5%