MSFlexibleTitleView
flexibleAnimationTitleView
Installation
Cocoapods(Recommended)
- Add
pod 'MSFlexibleTitleView'
to your Podfile. - Run
pod install
Manual
- 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.