Skip to content

saru2020/SparkButtonDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

SparkButtonDemo


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 :

Fontli



πŸ‘¨πŸ»β€πŸ’» Author

  • Saravanan alt text

Buy me a coffee/beer

About

Demonstrates the Like button animation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages