TKSubmitTransitionSwift3-PrPrLive 1000.0.2

TKSubmitTransitionSwift3-PrPrLive 1000.0.2

LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Leo.

  • By
  • Takuya.Okamoto and Leo

TKSubmitTransition - Swift3

Swift 3.0!! 🐱

NOTE: This repesitory is a fork from the original TKSubmitTransition. I didn’t make the library, I only migrated it to Swift 3 and fixed the migration issues and added missing features.

Inpired by

I created Animated UIButton of Loading Animation and Transition Animation.

As you can see in the GIF Animation Demo below, you can find the “Sign in” button rolling and after that, next UIViewController will fade-in.

I made them as classes and you can use it with ease.

Objective-C version is here.


Demo GIF Animation


pod 'TKSubmitTransitionSwift3'


This is SubClass of UIButton

btn = TKTransitionSubmitButton(frame: CGRectMake(0, 0, 44, 44))

Animation Method

func didStartYourLoading() {

func didFinishYourLoading() {
    btn.startFinishAnimation {
        //Your Transition
        let secondVC = SecondViewController()
        secondVC.transitioningDelegate = self
        self.presentViewController(secondVC, animated: true, completion: nil)


This Library also supply fade-in Animator Class of UIViewControllerAnimatedTransitioning.

Please use This for transition animation.


please use UIViewControllerTransitioningDelegate

class ViewController: UIViewController, UIViewControllerTransitioningDelegate {

secondVC.transitioningDelegate = self

// MARK: UIViewControllerTransitioningDelegate
func animationControllerForPresentedController(presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
    let fadeInAnimator = TKFadeInAnimator()
    return fadeInAnimator
func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
    return nil