BubbleTabBar
Requirements
- iOS 9.3+
- xCode 10
Example
To run the example project, clone the repo, and run ExampleApp
scheme from BubbleTabBar.xcodeproj
Installation
Carthage
Make the following entry in your Cartfile:
github "Cuberto/bubble-icon-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 content of folder BubbleTabBar/Classes
to your project
Usage
With Storyboard
-
Create a new UITabBarController in your storyboard or nib.
-
Set the class of the UITabBarController to
BubbleTabBarController
in your Storyboard or nib. -
Add a custom image icon and title for UITabBarItem of each child ViewContrroller
-
If you need cutom color for each tab set
CBTabBarItem
class to tab bar items and usetintColor
property
Without Storyboard
- Import
BubbleTabBar
- Instantiate
BubbleTabBarController
- Add some child conrollers and don't forget to set them tabBar items with title and image
- If you need cutom color for each tab use
CBTabBarItem
instead of UITabBarItem settintColor
property
Author
Cuberto Design, info@cuberto.com
License
BubbleTabBar is available under the MIT license. See the LICENSE file for more info.