Latest 0.3.0
Homepage https://github.com/jzy476731162/CJSegmentController
License MIT
Platforms ios 7.0
Frameworks UIKit
Authors

[![CI Status](http://img.shields.io/travis/Ji zhongyi/CJSegmentController.svg?style=flat)](https://travis-ci.org/Ji zhongyi/CJSegmentController)
Version
License
Platform

Description

As it named, CJSegmentController is a UIViewController with a segmentControl, you would meet a lot of trouble when this SegmentControl’s subviews have different Bar button Item. This pod is create For this Question.

Example

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

Usage

  • import < CJViewController >
  • use - (instancetype)initWithViewControllers:(NSArray *)viewControllers TintColor:(UIColor *)tintColor;
  • if you want to add bar button in navigationBar, import the Category:UIViewController+BarButtonItem,and manage your barButton by your subViewController like TestVCTwo in Demo.

Installation

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

pod "CJSegmentController"

Author

Ji zhongyi, jizhongyi@lngtop.com

License

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

Demo

CJSegmentControllerDemo

Latest podspec

{
    "name": "CJSegmentController",
    "version": "0.3.0",
    "summary": "As it named, CJSegmentController is a UIViewController with a segmentControl.",
    "description": "As it named, CJSegmentController is a UIViewController with a segmentControl, you would meet a lot of trouble when this SegmentControl's subviews have different Bar button Item. This pod is create For this Question.",
    "homepage": "https://github.com/jzy476731162/CJSegmentController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ji zhongyi": "jzy476731162@vip.qq.com"
    },
    "source": {
        "git": "https://github.com/jzy476731162/CJSegmentController.git",
        "tag": "0.3.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "CJSegmentController/Classes/**/*",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This