A custom reusable iOS range slider control with two thumbs for selecting a value interval.
MARKRangeSlider is an open-source iOS UI control that implements a dual-thumb range slider for selecting a minimum and maximum value within a defined interval. It solves the need for a customizable, reusable component to handle range-based input in iOS applications, replacing the default single-thumb UISlider for interval selection.
iOS developers building apps that require range selection interfaces, such as e-commerce filters, media trimming tools, or data visualization settings.
Developers choose MARKRangeSlider for its native multitouch support, extensive customization options, and straightforward integration as a UIControl subclass, avoiding the need to build a range slider from scratch.
A custom reusable slider control with 2 thumbs (range slider).
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows simultaneous dragging of both thumbs with two fingers for faster adjustments, demonstrated in the README's demo GIF for a smooth, intuitive experience.
Supports custom images for the track, range highlight, and thumbs, enabling full visual control as outlined in the styling properties section.
Properties like minimumDistance, pushable, and disableOverlapping provide precise control over thumb behavior, preventing overlaps and setting minimum ranges.
Subclasses UIControl and uses the standard target-action pattern, making it a drop-in replacement for familiar UIKit APIs with straightforward setup.
The project's last significant update appears to be from 2015, with no recent activity, raising concerns about compatibility with newer iOS versions and lack of bug fixes.
Designed exclusively for UIKit, requiring extra boilerplate via UIViewRepresentable for SwiftUI apps, which adds complexity for modern iOS development.
Requires custom image assets for all visual elements; there are no pre-styled themes or support for dynamic color systems like iOS dark mode without manual work.