Latest 1.0.9
Homepage https://github.com/AsTao/SimpleSegmentControl
License MIT
Platforms ios 9.0
Authors

Usage

SimpleSegmentControl

    segmentControl.segments = ["one","two","three"]
    segmentControl.reloadSegments()
    segmentControl.indexChangedHandler = {   [weak self] index in
        print(index)
    }

Example

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

Requirements

Installation

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

pod 'SimpleSegmentControl'

Author

tobias, [email protected]

License

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

Latest podspec

{
    "name": "SimpleSegmentControl",
    "version": "1.0.9",
    "summary": "A short description of SimpleSegmentControl.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/AsTao/SimpleSegmentControl",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "tobias": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AsTao/SimpleSegmentControl.git",
        "tag": "1.0.9"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "SimpleSegmentControl/Classes/**/*",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "5.0"
    },
    "swift_version": "5.0"
}

Pin It on Pinterest

Share This