- Switch sub-viewcontrollers by swipe gesture.
- Switch sub-viewcontrollers by button click.
- A bar show titles of sub-viewcontrolles.
- Badge support.
- (MHTabItemBadge *)badgeModelForItemAtIndex:(NSUInteger)index;
- Set default page index.
- (NSUInteger)defaultTabIndex;
To run the example project, clone the repo, and run pod install from the Example directory first.
MHTabController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MHTabController', :git => 'git@github.com:Minghao2017/MHTabController.git'薛明浩, xue_minghao@qq.com
MHTabController is available under the MIT license. See the LICENSE file for more info.
- Remove dependency of Masonry
- Tab bar compatibility of large number of pages
