Latest 1.0.2
Homepage https://github.com/kevinil/TwitterLikeButton
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

Twitter like button animation in swift

Usage

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'TwitterLikeButton', '~> 1.0.2'

PictureResource

  • Pods/TwitterLikeButton/TwitterLikeButton/*.png (unlike.png & like.png)
let iv = KevinButton(frame: CGRectMake(100, 100, 100, 100))
iv.initialImage = UIImage(named: "unlike")
iv.selectedImage = UIImage(named: "like")
view.addSubview(iv)

Latest podspec

{
    "name": "TwitterLikeButton",
    "version": "1.0.2",
    "summary": "Twitter's like button animation in Swift",
    "description": "Twitter's like button animation in Swift - Demo",
    "homepage": "https://github.com/kevinil/TwitterLikeButton",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "KeviNil": "liulangsf@gmail.com"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/kevinil/TwitterLikeButton.git",
        "tag": "1.0.2"
    },
    "source_files": "TwitterLikeButton/KevinButton.swift",
    "resources": "TwitterLikeButton/*.png",
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This