文章来源:淘论文网   发布者: 毕业设计   浏览量: 0



还可以点击去查询以下关键词:
[控制器]    [导入]    [多个]    [通过]    [顶部]    [选择]    [菜单]    [切换]    [yi'j导入多个控制器,通过顶部选择菜单切换控制器,实现....]   

项目介绍:

ZWTopSelectVcView

https://github.com/liunianhuaguoyanxi/ZWTopSelectVcView

It's an so easy way to add your all kinds of childControllers into superViewController, then you can slide around or just click on the topButton which is automatically building in the topView to switch your childViewController.快速导入多个控制器,开题报告开题报告,通过顶部选择菜单切换控制器,实现一个页面多个控制器切换处理.How to use:Import the header file(设置头文件)#import 'ZWTopSelectButton.h' #import 'ZWTopSelectVcView.h' 1.To initialize the ZWTopSelectVcView (初始化)ZWTopSelectVcView *topSelectVcView=[[ZWTopSelectVcView alloc]init]; topSelectVcView.frame=self.view.frame; [self.view addSubview:topSelectVcView]; self.topSelectVcView=topSelectVcView; 2.Set the delegate of ZWTopSelectVcView(设置代理)self.topSelectVcView.delegate=self; 3.Start drawing the UI (开始绘制UI)[self.topSelectVcView setupZWTopSelectVcViewUI];To implement proxy(Have to do)(一步导入你的各种控制器)

-(NSMutableArray )totalControllerInZWTopSelectVcView:(ZWTopSelectVcView )topSelectVcView
{

NSMutableArray *controllerMutableArr=[NSMutableArray array]; [controllerMutableArr addObject:[[OneTableViewController alloc]init]]; [controllerMutableArr addObject:[[TwoViewController alloc]init]]; [controllerMutableArr addObject:[[ThreeTableViewController alloc]init]]; [controllerMutableArr addObject:[[FourViewController alloc]init]]; return controllerMutableArr;

}

Show What it is

Show one of the custom sizes

Show one controller can have multiple ZWTopSelectVcView

Show some of the effects about switching

The specific content about it is in the demo(具体设置详情在demo中)If you have any questions, please send the email to liunianhuaguoyanxi@Gmail.com or liunianhuaguoyanxi@163.com


这里还有:


还可以点击去查询:
[控制器]    [导入]    [多个]    [通过]    [顶部]    [选择]    [菜单]    [切换]    [yi'j导入多个控制器,通过顶部选择菜单切换控制器,实现....]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8173.docx
  • 上一篇:baseCollectionViewController
  • 下一篇:AKVideoImageView