All Projects → liunianhuaguoyanxi → Zwtopselectvcview

liunianhuaguoyanxi / Zwtopselectvcview

Licence: mit
快速导入多个控制器,通过顶部选择菜单切换控制器,实现一个页面多个控制器切换处理.(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.)

Projects that are alternatives of or similar to Zwtopselectvcview

LockerScreen
Android lock screen,slide to unlock ! 安卓锁屏,上滑解锁,效果酷炫,值得拥有!
Stars: ✭ 81 (+32.79%)
Mutual labels:  slide, view
Android Toggle
Custom Switches for Android
Stars: ✭ 266 (+336.07%)
Mutual labels:  switch, view
SlideTable
可以滑动 以表格形式展示数据
Stars: ✭ 14 (-77.05%)
Mutual labels:  slide, view
view-admin-as
View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.
Stars: ✭ 44 (-27.87%)
Mutual labels:  view, switch
Unswitch
🕹 A tiny event handler for Switch controllers!
Stars: ✭ 574 (+840.98%)
Mutual labels:  controller, switch
MVVM-Design-Pattern-Demo
An Xcode 9 project written in Swift 4 code designed using the MVVM design pattern, truly extolling the virtues of MVVM over MVC.
Stars: ✭ 31 (-49.18%)
Mutual labels:  view, controller
SwitchXBOXController
Turn your Nintendo Switch into an XBOX360 controller to play on your Windows computer
Stars: ✭ 46 (-24.59%)
Mutual labels:  controller, switch
Flutter smart select
SmartSelect allows you to easily convert your usual form select or dropdown into dynamic page, popup dialog, or sliding bottom sheet with various choices input such as radio, checkbox, switch, chips, or even custom input. Supports single and multiple choice.
Stars: ✭ 179 (+193.44%)
Mutual labels:  switch, select
Slidablelayout
SlidableLayout is devoted to build a stable, easy-to-use and smooth sliding layout.
Stars: ✭ 385 (+531.15%)
Mutual labels:  view, slide
Wpemerge
A modern, MVC-powered WordPress as a CMS workflow. 🚀
Stars: ✭ 348 (+470.49%)
Mutual labels:  controller, view
Transition
Easy interactive interruptible custom ViewController transitions
Stars: ✭ 2,566 (+4106.56%)
Mutual labels:  controller, view
Modelassistant
Elegant library to manage the interactions between view and model in Swift
Stars: ✭ 26 (-57.38%)
Mutual labels:  controller, view
Diamond
Diamond is a full-stack web-framework written in The D Programming Language using vibe.d
Stars: ✭ 173 (+183.61%)
Mutual labels:  controller, view
php-mvc
Mini framework para aplicaciones PHP con el patrón MVC
Stars: ✭ 35 (-42.62%)
Mutual labels:  view, controller
Controllerx
Create controller-based automations with ease to control your home devices and scenes.
Stars: ✭ 141 (+131.15%)
Mutual labels:  controller, switch
SlideNavigation
🐢 类似‘今日头条顶部导航栏跟手势滑动’效果
Stars: ✭ 18 (-70.49%)
Mutual labels:  slide, view
Jhform
JhForm - 自定义表单工具,更加简单,快捷的创建表单、设置页面
Stars: ✭ 108 (+77.05%)
Mutual labels:  switch, select
Xlslideswitch
iOS 仿照今日头条滚动列表
Stars: ✭ 136 (+122.95%)
Mutual labels:  switch, slide
Vxe Table
🐬 vxe-table vue 表格解决方案
Stars: ✭ 4,242 (+6854.1%)
Mutual labels:  switch, select
Sys Con
Nintendo Switch sysmodule that allows support for third-party controllers
Stars: ✭ 603 (+888.52%)
Mutual labels:  controller, switch

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 integrate:

1.support Cocoapods

pod 'ZWTopSelectVcView'

2.手动导入(Manual integration)

将项目中的“ZWTopSelectVcView”文件夹拖入项目中(draging the folder named “ZWTopSelectVcView” into your project)

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 dataSource of ZWTopSelectVcView(设置数据源,必选)

self.topSelectVcView.dataSource=self;

2.1 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    

image

Show one of the custom sizes

image

Show one controller can have multiple ZWTopSelectVcView

image

Show some of the effects about switching

imageimageimageimageimageimage

The specific content about it is in the demo(具体设置详情在demo中)

If you have any questions, please send the email to [email protected] or [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].