GitHub - Cuberto/bubble-icon-tabbar
source link: https://github.com/Cuberto/bubble-icon-tabbar
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
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 CBFlashyTabBarController folder 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, [email protected]
License
BubbleTabBar is available under the MIT license. See the LICENSE file for more info.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK