An easy to use, customizable replacement for UISegmentedControl & UISwitch.
Swift
2,411
219 commits
updated Apr 11, 2023
BetterSegmentedControl is an easy to use, customizable replacement for
UISegmentedControl and UISwitch written in Swift.
Check the latest release notes here!


BetterSegmentedControl is available through Swift Package Manager. To install
it, simply go to Xcode under File > Swift Packages > Add Package Dependency...
BetterSegmentedControl is available through CocoaPods. To install it, simply add the following line to your Podfile:
# Swift 5.1
pod 'BetterSegmentedControl', '~> 2.0'
# Swift 4
pod 'BetterSegmentedControl', '1.0'
# Swift 3 / Objective-C
pod 'BetterSegmentedControl', '0.8'
If you prefer not to use CocoaPods or Swift Package Manager, you can integrate BetterSegmentedControl into your project manually.
let control = BetterSegmentedControl(frame: CGRect(x: 16.0,
y: 0,
width: view.bounds.width - 32.0,
height: 44.0))
view.addSubview(control)
You can find several ways of using it, such as by designing it in a Storyboard file or creating it in code in the example project.
To run the example project, clone the repo, and run pod install from the
Example directory first.
Feel free to submit Pull Requests or send me your feedback and suggestions!
Logo by Guillaume Galante.
George Marmaridis
BetterSegmentedControl is available under the MIT license. See the LICENSE file for more info.
130 followers · starred Apr 2025
749 followers · starred Oct 2016
1,135 followers · starred Jan 2025
53 followers · starred Aug 2018
An easy to use, customizable replacement for UISegmentedControl & UISwitch.
Swift
2,411
219 commits
updated Apr 11, 2023
BetterSegmentedControl is an easy to use, customizable replacement for
UISegmentedControl and UISwitch written in Swift.
Check the latest release notes here!


BetterSegmentedControl is available through Swift Package Manager. To install
it, simply go to Xcode under File > Swift Packages > Add Package Dependency...
BetterSegmentedControl is available through CocoaPods. To install it, simply add the following line to your Podfile:
# Swift 5.1
pod 'BetterSegmentedControl', '~> 2.0'
# Swift 4
pod 'BetterSegmentedControl', '1.0'
# Swift 3 / Objective-C
pod 'BetterSegmentedControl', '0.8'
If you prefer not to use CocoaPods or Swift Package Manager, you can integrate BetterSegmentedControl into your project manually.
let control = BetterSegmentedControl(frame: CGRect(x: 16.0,
y: 0,
width: view.bounds.width - 32.0,
height: 44.0))
view.addSubview(control)
You can find several ways of using it, such as by designing it in a Storyboard file or creating it in code in the example project.
To run the example project, clone the repo, and run pod install from the
Example directory first.
Feel free to submit Pull Requests or send me your feedback and suggestions!
Logo by Guillaume Galante.
George Marmaridis
BetterSegmentedControl is available under the MIT license. See the LICENSE file for more info.
130 followers · starred Apr 2025
749 followers · starred Oct 2016
1,135 followers · starred Jan 2025
53 followers · starred Aug 2018