Skip to content

myrealtrip/MXSegmentedControl

This branch is 2 commits ahead of maxep/MXSegmentedControl:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 24, 2023
30c323c Β· Nov 24, 2023

History

20 Commits
Aug 8, 2019
Nov 22, 2023
Aug 6, 2019
Nov 24, 2023
Nov 22, 2023
Dec 18, 2017
Jan 7, 2020
Mar 7, 2019
Aug 6, 2019
Nov 22, 2023
Apr 8, 2019
Dec 18, 2017

Repository files navigation

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.

About

Simple Segmented Control

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.1%
  • Objective-C 2.5%
  • Ruby 1.4%