Skip to content

A custom iOS transition written in Swift that utilizes UIKitDynamics.

Notifications You must be signed in to change notification settings

kylelol/SKKNavigationBarTransition

Repository files navigation

SKKNavigationBarTransition

##Requirements

  • iOS 8+, Swift.

##Installation

  1. Download or clone the project and copy the contents of the SKKNavigationBarTransition folder into your project.
  2. Create a property for the animation controller in the view controller you want the custom transition to happen from.
    • let navBarAnimationController = KKPanAnimationController()
  3. Adhere to the UIViewControllerTransitioningDelegate protocol in the same UIViewController that contains the animation controller property.
  4. Before presenting the new UIViewController you must set the following properties on the controller:
    • Set the .modalPresentationStyle = .Custom
    • Set the .transitioningDelegate to the view controller that implemented the UIViewControllerTransitioningDelegate protocol.

NOTE: This is the standard process for implementing any custom transition. Please see the sample project if you get confused.

About

A custom iOS transition written in Swift that utilizes UIKitDynamics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages