SparkButtonDemo
Demonstrates the SparkButton Animations that reflects the FB's Paper App's Like button animation.
There is also a writeup on the Imaginea blog.
Installation :
(i) Import "SparkButton.swift" & "SparkView.swift" files into your project.
(ii) Import QuartzCore framework into your project.
Usage :
On Your UIViewController's UI setup method, add these lines:
let rect: CGRect = CGRectMake(100, 100, 40, 40)
likeButton = SparkButton(frame: rect)
self.view.addSubview(likeButton)
Apps Using this Library :