• Stars
    star
    371
  • Rank 115,103 (Top 3 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

TKAnimatedCheckButton

Platform Language License CocoaPods

Elastic Animated Check Box inspired 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