WIZSideToolBar
- elemeth created as UIViewController category
- tap the tougleView for open rightMenu
HOW TO INSTALL
Import files from the folder "WIZSideToolBar Obj-C" to your project.
HOW TO USE
-
Add category to the ViewController as #import
-
Add
<WIZSideToolBarDelegate>
to @intreface -
Add ToolBox to screen with Background Color
self.delegate = self;
[self addWIZSideToolBarWithBgColor:[UIColor blackColor]];
- Create buttons in the delegate method, for example
-(NSArray <WIZToolBarButton*>*)WIZSideToolBarButtonImages
{
WIZToolBarButton *firstBarButton = [[WIZToolBarButton alloc] initWithIcon:[UIImage imageNamed:@"fillCircle"] title:@"123"];
WIZToolBarButton *emptyButton = [[WIZToolBarButton alloc] initWithIcon:[UIImage imageNamed:@"fillCircle"] title:@"000"];
WIZToolBarButton *secondBarButton = [[WIZToolBarButton alloc] initWithIcon:[UIImage imageNamed:@"fillCircle"] title:@"234"];
return @[firstBarButton, emptyButton, secondBarButton];
}
-
Use the "-(void)WIZSideToolBarTapButton:(int)index" method to determine clicking
-
It's all. You can use this elementh.