flexibleAnimationTitleView
- Add
pod 'MSFlexibleTitleView'
to your Podfile. - Run
pod install
- Add all files under
MSFlexibleTitleView
to your project
- iOS 5.0 and greater
- ARC/MRC
#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
MSFlexibleTitleView is available under the MIT license. See the LICENSE file for more info.