Latest 0.3
Homepage https://github.com/entotsu/TKAnimatedCheckButton
License MIT
Platforms ios 8.0
Authors

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

Latest podspec

{
    "name": "TKAnimatedCheckButton",
    "version": "0.3",
    "summary": "Elastic Animated Check Box inpired by https://dribbble.com/shots/1631598-On-Off and http://robb.is/working-on/a-hamburger-button-transition/",
    "homepage": "https://github.com/entotsu/TKAnimatedCheckButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Takuya.Okamoto": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/entotsu/TKAnimatedCheckButton.git",
        "tag": "0.3"
    },
    "source_files": [
        "Classes",
        "TKAnimatedCheckButton/Classes/*.swift"
    ]
}

Pin It on Pinterest

Share This