HMSegmentedControl alternatives and similar libraries
Based on the "Switch" category.
Alternatively, view HMSegmentedControl alternatives based on common mentions on social networks and blogs.
-
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 -
BetterSegmentedControl
An easy to use, customizable replacement for UISegmentedControl & UISwitch. -
DGRunkeeperSwitch
Runkeeper design switch control -
TwicketSegmentedControl
Custom UISegmentedControl replacement for iOS, written in Swift -
SevenSwitch
iOS7 style drop in replacement for UISwitch -
AIFlatSwitch
Nicely animated flat design switch alternative to UISwitch -
SJFluidSegmentedControl
A segmented control with custom appearance and interactive animations. Written in Swift 3.0. -
TKSwitcherCollection
An animation switch collection -
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.
InfluxDB - Power Real-Time Data Analytics at Scale
* 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 HMSegmentedControl or a related project?
README
HMSegmentedControl
A highly customizable drop-in replacement for UISegmentedControl, used by more than 22,000 apps, including TikTok, PayPal, Imgur and Bleacher Report.
Features
- ๐ธ Supports both text and images
- โ๏ธ Multiple sizing and selection styles
- ๐ Horizontal scrolling for an infinite number of segments
- โ๏ธ Advanced title styling with text attributes for font, color, kerning, shadow, etc
- ๐ฅ Compatible with both Swift and Objective-C
- ๐ฑ Updated for Xcode 11, iOS 13 and Swift 5. Supports all the way back to iOS 7!
Installation
pod 'HMSegmentedControl'
Installation via Carthage is also supported..
Usage
The code below will create a segmented control with the default looks:
let segmentedControl = HMSegmentedControl(sectionTitles: [
"Trending",
"News",
"Library"
])
segmentedControl.frame = CGRect(x: 0, y: 0, width: 100, height: 40)
segmentedControl.addTarget(self, action: #selector(segmentedControlChangedValue(segmentedControl:)), for: .valueChanged)
view.addSubview(segmentedControl)
Included is a demo project showing how to fully customize HMSegmentedControl.
Possible Styles
Apps Using HMSegmentedControl
If you are using HMSegmentedControl in your app or know of an app that uses it, please add it to this list.
Need Help?
If you need help with HMSegmentedControl, or with iOS/Swift development in general, check out swiftmentor.io
License
HMSegmentedControl is licensed under the terms of the MIT License. Please see the [LICENSE](LICENSE.md) file for full details.
If this code was helpful, I would love to hear from you.
*Note that all licence references and agreements mentioned in the HMSegmentedControl README section above
are relevant to that project's source code only.