Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alextarrago committed Apr 13, 2015
1 parent 3af126c commit 955c288
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ Once everything is configured on your Storyboard file, you'll need to setup your

1. Create and configure a `QZCircleSegue` instance to fit your settings.

...
var transition = QZCircleSegue()
...
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
let destinationViewController = segue.destinationViewController as! NewViewController
self.transition.animationChild = buttonOne
self.transition.animationColor = UIColor.redColor()
self.transition.fromViewController = self
self.transition.toViewController = destinationViewController
destinationViewController.transitioningDelegate = transition
}
...
var transition = QZCircleSegue()
...
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
let destinationViewController = segue.destinationViewController as! NewViewController
self.transition.animationChild = buttonOne
self.transition.animationColor = UIColor.redColor()
self.transition.fromViewController = self
self.transition.toViewController = destinationViewController
destinationViewController.transitioningDelegate = transition
}
2. *Optional* Check the DEMO APP to see how to configure different settings for different buttons.


Expand Down

0 comments on commit 955c288

Please sign in to comment.