Latest 0.1.6
Homepage https://github.com/sathishvgs/CustomSegmentControl
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

Example

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

fullmaterial

Requirements

This Pod requires the deployment target of iOS 9.0 or greater. Supports Swift 4

Usage

  let customSegmented = CustomSegmented(frame: CGRect(x: 0, y: 50, width: self.view.frame.width, height: 50), buttonTitles: ["On", "Off", "Neutral", "Custom"])

  // Plz maintain the order, otherwise swipe will not work by chance
  view.addSubview(customSegmented)
  customSegmented.onsegmentTapped = self
  customSegmented.configViews()

Installation

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

pod 'CustomSegmentControl'

Author

[email protected], [email protected]

License

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

Latest podspec

{
    "name": "CustomSegmentControl",
    "version": "0.1.6",
    "summary": "CustomSegmentControl is a simple library which helps you to create the customized segment control.",
    "homepage": "https://github.com/sathishvgs/CustomSegmentControl",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Sathish Kumar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/sathishvgs/CustomSegmentControl.git",
        "tag": "0.1.6"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.0",
    "source_files": "CustomSegmentControl/Classes/**/*"
}

Pin It on Pinterest

Share This