bubble-icon-tabbar using Objective-C
A custom TabBar inherit from UITabBar with bubble animation when selecting
- iOS 9.0+
- Xcode 10+
To run the example project, clone the repo, and run ExampleApp
scheme from LEOBubbleTabBar.xcodeproj
Add the following to your Podfile
and run $ pod install
.
pod 'LEOBubbleTabBar', '~> 0.1'
- Create a new UITabBarController in your storyboard or nib.
- Set the class of the UITabBarController to
LEOBubbleTabBarController
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
LEOTabBarItem
class to tab bar items and use tintColor property
- Import
LEOBubbleTabBar
- Instantiate
LEOBubbleTabBarController
- Add some child conrollers and don't forget to set their tabBar items with title and image
- If you need cutom color for each tab use
LEOTabBarItem
instead of UITabBarItem set tintColor property
LEOBubbleTabBar is available under MIT license. See the LICENSE file for more info.