Swiftpack.co - maxep/MXSegmentedControl as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by maxep.
maxep/MXSegmentedControl 1.1.0
Simple Segmented Control
⭐️ 140
🕓 3 years ago
iOS
.package(url: "https://github.com/maxep/MXSegmentedControl.git", from: "1.1.0")

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.

GitHub

link
Stars: 140
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

4 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics