Latest 0.1.2
Homepage https://github.com/Bintong/TBTopPagesController
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Perf

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Not View . For ViewControllers

GIF

Requirements

This library requires iOS 9.0+ and Xcode 8.0+.

Installation

Installation with CocoaPods

pod 'TBTopPagesController'

Manually

TBSegmentControl.h
TBSegmentControl.m
TBTopMainController.h
TBTopMainController.m

Copy Some specific class file to your projec

Usage

    TBTopMainController *vc = [[TBTopMainController alloc] init];
    TBAViewController *allList = [[TBAViewController alloc] init];
    TBBViewController *meList = [[TBBViewController alloc] init];
    TBCViewController *cCV = [[TBCViewController alloc] init];

    vc.segmentBgColor = [UIColor whiteColor];
    vc.indicatorViewColor = TBColorFromRGB(0xf9dc4a);
    vc.titleColor = TBColorFromRGB(0x999999);
    vc.titleSelectColor = TBColorFromRGB(0x333333);
    [vc setTitles:@[@"精选",@"发现",@"好友圈"]];
    [vc setViewControllers:@[allList, meList,cCV]];

最后可以选择 怎么样展示设置好的viewController

Author

[email protected],[email protected]

License

TBTopPagesController is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "TBTopPagesController",
    "version": "0.1.2",
    "summary": "u53efu5207u6362u5bfcu822au680f",
    "description": "u53efu4ee5u76f8u4e92u5207u6362u7684u5bfcu822au680fuff0cu5bf9u4e8eu6613viewController u4e3au533au5206u70b9uff0cu4e0du662fview",
    "homepage": "https://github.com/Bintong/TBTopPagesController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Bintong/TBTopPagesController.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "TBTopPagesController/Classes/**/*"
}

Pin It on Pinterest

Share This