TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | May 2015 |
Maintained by Jeff Menter.
A simple way to flip between two view controllers.
To use, simply alloc and init with primary and secondary view controllers. You can programmatically flip to either view controllers or simply tell the view controller to flip and it will do so.
For example:
JAMFlippableViewController *vc = [JAMFlippableViewController.alloc initWithPrimaryViewController:myPrimaryViewController
andSecondaryViewController:mySecondaryViewController];
...and then call the methods...
[vc flipViewControllers];
[vc flipToPrimaryViewController];
[vc flipToSecondaryViewController];
You can set the duration of the flip transition with the flipDuration property. Easy peasy lemon squeezy.