Note that there are some explanatory texts on larger screens.

plurals
  1. POSidemenu with tabBarControllers in Storyboard
    primarykey
    data
    text
    <p>Hi Fellow iOS Developers, I am a newbie developing a project with 5 tab Views and on the first and second tabs I have slide out menus using Container views from example code by Michael Frederick on his GitHub page <a href="https://github.com/mikefrederick/MFSideMenu" rel="nofollow">Project Link:</a> <a href="https://github.com/mikefrederick/MFSideMenu" rel="nofollow">https://github.com/mikefrederick/MFSideMenu</a>. He is using a nib (.xib) files though I am using Storyboard to achieve the same and struck with defining the container and child views. can kindly some one advice how to modify the below code to accommodate in my storyboard. </p> <p>the original code in the AppDelegate.m is </p> <pre><code>- (DemoViewController *)demoController { return [[DemoViewController alloc] initWithNibName:@"DemoViewController" bundle:nil]; } - (UINavigationController *)navigationController { return [[UINavigationController alloc] initWithRootViewController:[self demoController]]; } - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; UITabBarController *tabBarController = [[UITabBarController alloc] init]; [tabBarController setViewControllers:[NSArray arrayWithObjects:[self navigationController], [self navigationController], nil]]; SideMenuViewController *leftSideMenuController = [[SideMenuViewController alloc] init]; SideMenuViewController *rightSideMenuController = [[SideMenuViewController alloc] init]; MFSideMenuContainerViewController *container = [MFSideMenuContainerViewController containerWithCenterViewController:tabBarController leftMenuViewController:leftSideMenuController rightMenuViewController:rightSideMenuController]; self.window.rootViewController = container; [self.window makeKeyAndVisible]; return YES; } @end </code></pre> <ol> <li>how to modify the code to accommodate the container parent view and child views ? </li> <li>where should i instantiate the code for the parent and child of the 2nd tab view ? in AppDelegate or the View Controller ? </li> </ol> <p>If any other Details are required leave a comment please. Any Help Will be greatly appreciated. thanks in Advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload