Skip to content

kitoko552/CircularRevealAnimator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CircularRevealAnimator

Screen transition with scaling circle.

Demo

Preview

Usage

class ViewController: UIViewController {
    private var transitioner: Transitioner?
    var tapPoint: CGPoint?

    override func viewDidLoad() {
        super.viewDidLoad()
        transitioner = Transitioner(style: .CircularReveal(tapPoint!), viewController: viewController)
    }
}

extension ViewController {
    @IBAction func buttonTapped(sender: UIButton) {
        transitioner = Transitioner(style: .CircularReveal(sender.center), viewController: self)
        dismissViewControllerAnimated(true, completion: nil)
    }
}

You can see the sample project under the Sample directory.

Requirement

iOS8.0+

License

The MIT License

About

Screen transition with scaling circle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages