Latest 1.0
Homepage https://github.com/sjoness/SJSegmentedControl
License MIT
Platforms ios 10.0
Authors

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

SJSegmentedControl GIF

Example

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

Usage

self.segmentedControl.delegate = self
self.segmentedControl.titles = ["First", "Second", "Third"]
self.segmentedControl.thumbColor = UIColor.blue
self.segmentedControl.borderColour = UIColor.blue
self.segmentedControl.unselectedLabelColor = UIColor.black

Requirements

iOS 10.0+

Installation

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

pod "SJSegmentedControl"

Author

Sam Jones, [email protected]

License

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

N.B.

This library is adapted from this tutorial

Latest podspec

{
    "name": "SJSegmentedControl",
    "version": "1.0",
    "summary": "Another custom UISegmentedControl",
    "description": "This custom UISegmentedControl was taken and adapted for use in the development of a social platform.",
    "homepage": "https://github.com/sjoness/SJSegmentedControl",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Sam Jones": "[email protected]"
    },
    "source": {
        "git": "https://github.com/sjoness/SJSegmentedControl.git",
        "tag": "1.0"
    },
    "social_media_url": "https://twitter.com/sjoness_",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "SJSegmentedControl/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This