Copyright 2012 by Nacho Soto SidebarController is released under the Apache License v2.0
SidebarController is designed to be used in a similar way as how you use UINavigationController.
- Copy everything from "SidebarController" into your project.
SidebarController *controller = [[SidebarController alloc] initWithMainController:mainController]; controller.leftController = leftController;
controller.rightController = rightController; [self.sidebarController showLeftController];
[self.sidebarController showRightController];And from the menus you can easily replace the main controller, and this will animate nicely to show the new one:
[self.sidebarController replaceMainController:newController];