Skip to content

Commit

Permalink
Readme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kylelol committed May 7, 2015
1 parent 19600d7 commit 64d6605
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
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 do the following
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.
* 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.

0 comments on commit 64d6605

Please sign in to comment.