• Stars
    star
    139
  • Rank 262,021 (Top 6 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple Segmented Control

MXSegmentedControl

CI Status Version Carthage compatible License Platform

Yet another segmented control for iOS inspired by Segmentio & HMSegmentedPager. MXSegmentedControl is easy to integrate and very customizable. It dynamically computes the segments width to fit or fill its content, it can also track a UIScrollView content offset to change segment.

Installation

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

pod 'MXSegmentedControl'

Usage

  • You can configure a simple segmented control like following:
segmentedControl.append(title: "First")
segmentedControl.append(title: "Second")
segmentedControl.append(title: "Third")

Author

Maxime Epain

License

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