SkillAgentSearch skills...

SVETabBarController

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.

Install / Use

/learn @SergioEstevao/SVETabBarController
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

SVETabBarController Build Status

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.

Example

Screenshot

Open up the included Xcode project for an example app and the tests.

Usage

    // 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.

Installation

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.

Related Skills

View on GitHub
GitHub Stars15
CategoryDesign
Updated6y ago
Forks0

Languages

Objective-C

Security Score

75/100

Audited on Jul 11, 2019

No findings