Latest 0.1.0
Homepage https://github.com/dongqihouse/QDHeaderTabbarViewController
License MIT
Platforms ios 8.0
Dependencies SnapKit
Authors

CI Status
Version
License
Platform

Example

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

Requirements

Installation

QDHeaderTabbarViewController is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'QDHeaderTabbarViewController'

Usage

let vc = QDHeaderTabbarViewController()
vc.dataSources = [("关注", ViewController()), ("热门", ViewController()), ("关注", ViewController()), ("热门", ViewController()), ("关注", ViewController()), ("热门", ViewController())]

vc.headerItemWidth = 80
vc.headerHeight = 40
vc.selectedTitleFont = UIFont.systemFont(ofSize: 14)
vc.unSelectedTitleFont = UIFont.systemFont(ofSize: 11)

Result

结果

Author

[email protected], [email protected]

License

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

Latest podspec

{
    "name": "QDHeaderTabbarViewController",
    "version": "0.1.0",
    "summary": "u5934u90e8u6edau52a8u89c6u56feu63a7u5236u5668.",
    "description": "header tabbr  controller",
    "homepage": "https://github.com/dongqihouse/QDHeaderTabbarViewController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dongqihouse/QDHeaderTabbarViewController.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "QDHeaderTabbarViewController/Classes/**/*",
    "dependencies": {
        "SnapKit": []
    }
}

Pin It on Pinterest

Share This