Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.44 KB

README.md

File metadata and controls

51 lines (29 loc) · 1.44 KB

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.