中文介绍
ESTabBarController is a highly customizable TabBarController component, which is inherited from UITabBarController.
Why?
In real-world development, we may encounter the situation that customizing the UITabBar. For instance: change font style, add animation, use bigger item. However it's hard to do with UITabBarItem.
With ESTabBarController, You can easily achieve these!
Requirements
- Xcode 8 or later
- iOS 8.0 or later
- ARC
- Swift 5 or later
Demo
You can download and build ESTabBarControllerExample project, and you will find more examples to use ESTabBarController, and also more examples to customize UITabBar。
Usage
CocoaPods
pod "ESTabBarController-swift"
Carthage
github "eggswift/ESTabBarController"
Manually
git clone https://github.com/eggswift/ESTabBarController.git
open ESTabBarController
TODO
- The Containers' layout is purely based on code,using Autolayout will be better.
- When there is "More", if edit it will occurs problem.
- Partial UITabBarItem attributes are not bridge to ESTabBarItem.
The picture of 'More' item in ESTabBarItemMoreContentView is not set into framework, plan to convert it to CGBitmap.
Sponsor
You can support the project by checking out our sponsor page. It takes only one click:
This advert was placed by GitAds
Acknowledgement
- animated-tab-bar by http://ramotion.com
- Partial pictures in Example are from http://www.iconfont.cn
About
ESTabBarController is developed and maintained by Vincent Li. If you have any questions or issues in using ESTabBarController, welcome to issue.
If you want to contribute to ESTabBarController, Please submit Pull Request, I will deal with it as soon as possible.
License
The MIT License (MIT)
Copyright (c) 2013-2016 eggswift. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.