• 抽屉视图第三方控件


    抽屉视图  第三方控件   ViewDeck

    IIViewDeckController.h

    IIViewDeckController.m

    IIWrapController.h

    IIWrapController.m

    AppDelegate.h 代码示范

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

    {

        self.window = [[UIWindowalloc] initWithFrame:[[UIScreenmainScreen] bounds]];

        // Override point for customization after application launch.

        self.window.backgroundColor = [UIColorwhiteColor];

        

        //主页

        HomePageViewController *homePageViewCtl = [[HomePageViewControlleralloc]init];

        FunshionNavgationController * navgationCtl = [[FunshionNavgationControlleralloc]initWithRootViewController:homePageViewCtl];

        

        //侧边栏

        LeftSliderBarViewController *leftSlderBarCtl = [[LeftSliderBarViewControlleralloc]init];

        

        IIViewDeckController *mainCtrl = [[IIViewDeckController alloc] initWithCenterViewController:navgationCtl  leftViewController:leftSlderBarCtl];

        [mainCtrl setLeftSize:80];

        

        self.window.rootViewController = mainCtrl;

        [self.windowmakeKeyAndVisible];

        

        returnYES;

    }

  • 相关阅读:
    代码性能优化-1
    sql调优-1
    2020.11.08 字符串可以是对象
    2020.11.09 JavaScript运算符
    2020.11.10 JavaScript 比较
    2020.11.11
    2020.11.12 条件语句
    2020.11.13 switch语句
    2020.11.14 循环
    2020.11.15
  • 原文地址:https://www.cnblogs.com/417460188dy/p/3419040.html
Copyright © 2020-2023  润新知