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.
#import "ZWTopSelectButton.h"
#import "ZWTopSelectVcView.h"
ZWTopSelectVcView *topSelectVcView=[[ZWTopSelectVcView alloc]init];
topSelectVcView.frame=self.view.frame;
[self.view addSubview:topSelectVcView];
self.topSelectVcView=topSelectVcView;
self.topSelectVcView.dataSource=self;
self.topSelectVcView.delegate=self;
[self.topSelectVcView setupZWTopSelectVcViewUI];
-(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;
}