Latest 0.9.4
Homepage https://github.com/Cuberto/cb-tabbar
License MIT
Platforms ios 10.0
Authors

GitHub license
CocoaPods
Carthage compatible
Swift 4.0

Animation

Example

To run the example project, clone the repo, and run ExampleApp scheme from CBTabBar.xcodeproj

Requirements

  • iOS 10.0+
  • Xcode 9

Installation

CocoaPods

To install CBTabBarController add the following line to your Podfile:

pod 'CBTabBarController'

Then run pod install.

Carthage

Make the following entry in your Cartfile:

github "Cuberto/cb-tabbar"

Then run carthage update.

If this is your first time using Carthage in the project, you’ll need to go through some additional steps as explained over at Carthage.

Manual

Add CBTabBarController folder to your project

Usage

With Storyboard

  1. Create a new UITabBarController in your storyboard or nib.

  2. Set the class of the UITabBarController to CBTabBarController in your Storyboard or nib.

  3. Add a custom image icon and title for UITabBarItem of each child ViewContrroller

Without Storyboard

  1. Import CBTabBarController
  2. Instantiate CBTabBarController
  3. Add some child controllers and don’t forget to set them tabBar items with title and image

Styling

Set appropriate style for tab bar using style property of CBTabbarController instance.
You can subclass UITabBarItem and conform to CBExtendedTabItem protocol to define custom title style and tint for tab buttons.

Styles supported at the moment:

Gooey with menu:

Animation

Requies configured CBTabMenu instance as paramenter (see example). Any object conforming to CBTabMenuItem can be used as menu item

Flashy:

Animation

Fade (default):

Same as gooey but without menu button

Author

Cuberto Design, [email protected]

License

CB
TabBarController is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CBTabBarController",
    "version": "0.9.4",
    "summary": "One another nice animated tabbar",
    "homepage": "https://github.com/Cuberto/cb-tabbar",
    "license": "MIT",
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Cuberto/cb-tabbar.git",
        "tag": "0.9.4"
    },
    "social_media_url": "https://twitter.com/cuberto",
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.2",
    "source_files": "CBTabBarController/Classes/**/*",
    "resources": "CBTabBarController/Assets/**/*.{png,storyboard}"
}

Pin It on Pinterest

Share This