Latest 1.0.9
Homepage https://github.com/bawn/LCTitleView
License MIT
Platforms ios 7.0, requires ARC
Dependencies Masonry
Authors

License MIT
Pod version
Platform info

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

Demo

1

Installation

CocoaPods:

pod 'LCTitleView'

Example Usage

#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;

License

MIT

Latest podspec

{
    "name": "LCTitleView",
    "version": "1.0.9",
    "summary": "u5e38u7528u7684u6807u9898u89c6u56fe Simple title view",
    "homepage": "https://github.com/bawn/LCTitleView",
    "license": "MIT",
    "authors": {
        "bawn": "[email protected]"
    },
    "source": {
        "git": "https://github.com/bawn/LCTitleView.git",
        "tag": "1.0.9"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "LCTitleView/*.{h,m}",
    "dependencies": {
        "Masonry": [
            "~> 0.6.0"
        ]
    }
}

Pin It on Pinterest

Share This