Skip to content

mhxue/MHTabController

Repository files navigation

MHTabController

CI Status Version License Platform

Screenshots

demo.png
demo

Feature

  1. Switch sub-viewcontrollers by swipe gesture.
  2. Switch sub-viewcontrollers by button click.
  3. A bar show titles of sub-viewcontrolles.
  4. Badge support.
- (MHTabItemBadge *)badgeModelForItemAtIndex:(NSUInteger)index;
  1. Set default page index.
- (NSUInteger)defaultTabIndex;

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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'

Author

薛明浩, xue_minghao@qq.com

License

MHTabController is available under the MIT license. See the LICENSE file for more info.

Todos

  1. Remove dependency of Masonry
  2. Tab bar compatibility of large number of pages

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published