BetterSegmentedControl alternatives and similar libraries
Based on the "Switch" category.
Alternatively, view BetterSegmentedControl alternatives based on common mentions on social networks and blogs.
-
HMSegmentedControl
A highly customizable drop-in replacement for UISegmentedControl. -
RAMPaperSwitch
:octocat: ๐ RAMPaperSwitch is a Swift material design UI module which paints over the parent view when the switch is turned on. iOS library by @Ramotion -
DGRunkeeperSwitch
Runkeeper design switch control -
TwicketSegmentedControl
Custom UISegmentedControl replacement for iOS, written in Swift -
SevenSwitch
iOS7 style drop in replacement for UISwitch -
TKSwitcherCollection
An animation switch collection -
AIFlatSwitch
Nicely animated flat design switch alternative to UISwitch -
SJFluidSegmentedControl
A segmented control with custom appearance and interactive animations. Written in Swift 3.0. -
PinterestSegment
A Pinterest-like segment control with masking animation. -
AKASegmentedControl
๐ซ Fully customizable Segmented Control for iOS -
LUNSegmentedControl
Customizable segmented control with interactive animation. -
MultiSelectSegmentedControl
UISegmentedControl remake that supports selecting multiple segments, vertical stacking, combining text and images. -
JTMaterialSwitch
A Customizable Switch UI for iOS, Inspired from Google's Material Design -
ViralSwitch
A UISwitch that infects its superview with its tint color. -
DynamicMaskSegmentSwitch
A segment switcher with dynamic text mask effect -
AnimatedSwitch
UISwitch which paints over the parent view with the color in Swift. -
Switcher
Swift - Custom UISwitcher with animation when change status -
Switch
๐ An iOS switch control implemented in Swift with full Interface Builder support -
YUSegment
A customizable Segmented Control for iOS. Supports text and image.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of BetterSegmentedControl or a related project?
README
BetterSegmentedControl
BetterSegmentedControl
is an easy to use, customizable replacement for
UISegmentedControl
and UISwitch
written in Swift.
Features
- [x] Can be used as a segmented control or switch
- [x] Plethora of customizable options from colors to insets, radii and animations
- [x] Use text or icons as segments, or add your own custom segments
- [x] Designable straight in Interface Builder
- [x] Accessibility support
- [x] iPad cursor support
- [x] Customizable behavior
- [x] Right-to-left languages support
- [x] Fully tested
Check the latest release notes here!
Examples
iOS
[Demo](Assets/demo_main.gif)
iPad cursor
[Demo](Assets/demo_ipad_cursor.gif)
Requirements
- iOS 9.0+
- Xcode 8+
Installation
Swift Package Manager
BetterSegmentedControl is available through Swift Package Manager. To install
it, simply go to Xcode under File > Swift Packages > Add Package Dependency...
CocoaPods
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'
Manually
If you prefer not to use CocoaPods or Swift Package Manager, you can integrate BetterSegmentedControl into your project manually.
Usage
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.
Contribution
Feel free to submit Pull Requests or send me your feedback and suggestions!
Logo by Guillaume Galante.
Author
George Marmaridis
- https://github.com/gmarm
- https://twitter.com/gmarmas
- https://www.linkedin.com/in/gmarm
- [email protected]
License
BetterSegmentedControl is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the BetterSegmentedControl README section above
are relevant to that project's source code only.