Zhan2TH2 / MSFlexibleTitleView

flexible animation titleView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MSFlexibleTitleView

platform GitHub license CocoaPods GitHub stars

flexibleAnimationTitleView

Installation

Cocoapods(Recommended)

  1. Add pod 'MSFlexibleTitleView' to your Podfile.
  2. Run pod install

Manual

  1. Add all files under MSFlexibleTitleView to your project

Requirements

  • iOS 5.0 and greater
  • ARC/MRC

How To Use

Objective-C

#import "MSFlexibleTitleView.h”
MSFlexibleTitleView* titleView = [[MSFlexibleTitleView alloc] initWithTitles:@[@"One" ,@"Two", @"Three"]
                                                                   showIndex:MSTitleTypeMoment
                                                                    tapBlock:^(MSFlexibleTitleView *titleView,NSInteger index{

}];

titleView.scrollBlock(NSInteger index, NSInteger toIndex, CGFloat scale, BOOL end);//selecteAnNewItem

License

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

About

flexible animation titleView

License:MIT License


Languages

Language:Objective-C 71.1%Language:Ruby 28.9%