ElPastor / CMTabbarView

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Objective-C 97.3%Language:Ruby 2.7%