TKAnimatedCheckButton 0.3

TKAnimatedCheckButton 0.3

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2015
SPMSupports SPM

Maintained by Takuya Okamoto.



  • By
  • Takuya.Okamoto

TKAnimatedCheckButton

Elastic Animated Check Box inpired by https://dribbble.com/shots/1631598-On-Off and http://robb.is/working-on/a-hamburger-button-transition/

Demo GIF Animation

Installation

pod 'TKAnimatedCheckButton'

Usage

This is SubClass of UIButton

self.button = TKAnimatedCheckButton(frame: CGRectMake(0, 0, 44, 44))

How to toggle

func toggle() {
  self.button.checked = !self.button.checked
}

Custom Color

self.button.color = UIColor.redColor().CGColor
self.button.skeletonColor = UIColor.blueColor().CGColor