• Stars
    star
    392
  • Rank 109,735 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 4 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

flexible animation titleView

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.