LCTitleView 1.0.9

LCTitleView 1.0.9

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布日期最新版本2016年8月

Bawn维护。



  • bawn

常用的标题视图,支持 UIPageViewController,请参考 Demo

Demo

1

安装

CocoaPods

pod 'LCTitleView'

示例使用方法

#import <LCTitleView.h>
self.titleArray = @[@"午餐", @"小食", @"甜点", @"酱料", @"下午",@"早餐"];
self.titleView.titleArray = _titleArray;
self.titleView.buttonNormalColor = [UIColor colorWithRed:119.0f/255.0f green:119.0f/255.0f blue:119.0f/255.0f alpha:1.0f];
self.titleView.buttonSelectedColor = [UIColor colorWithRed:33.0f/255.0f green:175.0f/255.0f blue:94.0f/255.0f alpha:1.0f];
self.titleView.buttonFont = [UIFont systemFontOfSize:13.0f];
//  self.titleView.buttonInsets = 10.0f;
self.titleView.margin = 10.0f;
self.titleView.showSelectionBar = YES;
self.titleView.delegate = self;
self.titleView.targetScrollView = _collectionView;

许可证

MIT