Latest 1.2
Homepage https://github.com/oriolblanc/OBTabBarController
License MIT
Platforms ios 5.0, requires ARC
Authors

OBTabBarController is an adaptive and customizable tab bar for iOS.

Features

  • Custom images and highlighted images on tabs.
  • Custom tab bar background.
  • Hide/show titles on tabs.
  • Custom enabling/disabling selection on tabs.
  • Custom behaviour when selecting tabs (e.g. present a modal view controller).

Usage

Install

We strongly encourage you to use Cocoapods. It’s simple, just add the dependency to your Podfile:

platform :ios

pod 'OBTabBarController'

And then running pod install will install the dependencies.

Finally, import the header file wherever you want to use it:

#import "OBTabBarController.h"

And you are done!

Initialization

_tabBarController = [[OBTabBarController alloc] initWithViewControllers:
            @[self.firstViewController, self.secondViewController, self.thirdViewController, self.fourthViewController]
                                                               delegate:self];

Previews

iPhone portrait

iPhone portrait

What’s next?

  • Support landscape mode.

Latest podspec

{
    "name": "OBTabBarController",
    "version": "1.2",
    "authors": {
        "Oriol Blanc": "[email protected]"
    },
    "homepage": "https://github.com/oriolblanc/OBTabBarController",
    "summary": "Open source alternative to UITabBarController, easier.",
    "source": {
        "git": "https://github.com/oriolblanc/OBTabBarController.git",
        "tag": "1.2"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "platforms": {
        "ios": "5.0"
    },
    "requires_arc": true,
    "source_files": "OBTabBarController.{h,m}"
}

Pin It on Pinterest

Share This