A Runkeeper-style segmented switch control for iOS apps, built with Swift.
DGRunkeeperSwitch is a custom iOS switch control that replicates the two-part segmented toggle design from the Runkeeper fitness app. It provides developers with a visually distinctive alternative to standard UISegmentedControl, featuring smooth animations and extensive customization options for building polished iOS interfaces.
iOS developers building apps that require custom segmented controls or want to implement the Runkeeper-style toggle interface in their applications.
Developers choose DGRunkeeperSwitch for its ready-to-use implementation of a popular design pattern, saving development time while providing a polished, animated control that enhances user experience beyond standard iOS components.
Runkeeper design switch control
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports custom background colors, selected colors, title colors, and fonts, as demonstrated in the example code with specific UIColor and UIFont instances.
Can be used as a navigation bar titleView or as a standalone control in any view, with code examples for both placements in the README.
Implements animated segment transitions, visually confirmed by the GIF preview showing the control in action with the Runkeeper design.
Allows more than two segments, enabling versatile use cases like time period selectors, as shown in the example with four titles.
Relies on manual frame setting or autoresizingMask, lacking native support for modern Auto Layout constraints, which is standard in iOS development for responsive interfaces.
Different releases for Swift 2.0 and Swift 3.0, as noted in the README, which can complicate upgrades and maintenance when migrating Swift versions.
The README does not mention any built-in accessibility support, such as VoiceOver labels, requiring additional implementation for inclusive app design.