Skip to content

CMTabbarView is a scrolling tab bar,provides a simple to implement view like NetEase News

License

Notifications You must be signed in to change notification settings

moyunmo/CMTabbarView

Repository files navigation

CMTabbarView

CI Status Version License Platform

Example

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

Requirements

iOS 8.0+

Installation

CMTabbarView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "CMTabbarView"

Usage

You can create menu view

tabbarView = [[CMTabbarView alloc] initWithFrame:CGRectMake(0, 20, self.view.bounds.size.width, 40)];
tabbarView.delegate = self;
tabbarView.dataSource = self;

You need implement the protocol

- (NSArray<NSString *> *)tabbarTitlesForTabbarView:(CMTabbarView *)tabbarView;

Author

Moyun, moyunmo@hotmail.com

License

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

About

CMTabbarView is a scrolling tab bar,provides a simple to implement view like NetEase News

Resources

License

Stars

Watchers

Forks

Packages

No packages published