From 6cf45114f0d494d3d1799ea78412be65b12316e7 Mon Sep 17 00:00:00 2001 From: John Lluch Zorrilla Date: Sun, 9 Mar 2014 12:12:04 +0100 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ceebcae..b47bffd 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,12 @@ A UIViewController subclass for revealing a rear (left and/or right) view contro * You can create custom viewController transition animations by implementing the UIViewControllerAnimatedTransitioning protocol. * Added the following new delegate methods +``` - (void)revealController:(SWRevealViewController *)revealController willAddViewController:(UIViewController *)viewController forOperation:(SWRevealControllerOperation)operation animated:(BOOL)animated; - (void)revealController:(SWRevealViewController *)revealController didAddViewController:(UIViewController *)viewController forOperation:(SWRevealControllerOperation)operation animated:(BOOL)animated; -- (id)revealController:(SWRevealViewController *)revealController + - (id)revealController:(SWRevealViewController *)revealController animationControllerForOperation:(SWRevealControllerOperation)operation fromViewController:(UIViewController *)fromVC toViewController:(UIViewController *)toVC; +```` * The examples have been updated to demonstrate the new features. All animated calls to of setFrontViewController:animated: have been replaced by pushFrontViewController:animated: