TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
SVETabBarController is a Tab Bar controller inspired by the tab system on Google Chrome for mobile. The tabbar is displayed on the top of the screen and it auto hides it or shows it when you scroll inside the selected view. It was designed to be a drop in replacement of UITabBarController to make the switch easy.
SVETabBarController is tested on iOS 5 and requires ARC. Released under the MIT license.
Open up the included Xcode project for an example app and the tests.
// Initialize the view controller
SVETabBarController * tabBarController = [[SVETabBarController alloc] init];
NSMutableArray * controllers = [NSMutableArray array];
for ( int i = 0; i < 8; i++) {
UIViewController * controller = [[SampleTableViewController alloc] init];
controller.title = [NSString stringWithFormat:@"Tab %i", i];
[controllers addObject:controller];
}
tabBarController.viewControllers = controllers;
See the header for full documentation.
Simply add the files in the SVETabBarController.h
and SVETabBarController.m
to your project or add SVETabBarController
to your Podfile if you're using CocoaPods.