gontovnik/dgrunkeeperswitch — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2019-12-11
Add an animated segmented toggle to a health app's top navigation bar so users can switch between Daily, Weekly, and Monthly views.
Build a social app where users slide between a Feed and a Leaderboard using a polished pill-style switch.
Replace the standard iOS segmented control with a more dynamic, rounded toggle in any custom screen layout.
| gontovnik/dgrunkeeperswitch | jaywcjlove/devhub | sw33tlie/macshot | |
|---|---|---|---|
| Stars | 1,868 | 2,017 | 1,648 |
| Language | Swift | Swift | Swift |
| Last pushed | 2019-12-11 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
No special infrastructure needed, just drop the Swift file into an Xcode project or use a standard dependency manager like CocoaPods.
DGRunkeeperSwitch is a user interface component for iOS apps that recreates the segmented toggle switch popularized by the Runkeeper fitness app. It gives developers a polished, animated way to let users switch between two or more sections of content, like sliding between a "Feed" and a "Leaderboard" or choosing between "Daily," "Weekly," "Monthly," and "Yearly" views. At a high level, it works as a customizable drop-in control written in Swift. You provide the titles for each segment, set a few color values for the background and text, and place it on your screen. The control handles the animation and the sliding "pill" effect automatically, so you don't have to build that interaction yourself. An iOS developer building an app would use this when they need a segmented control that looks more dynamic than the standard options that come built into iOS. For example, if you are designing a health or activity app and want that smooth, rounded toggle in your top navigation bar to let users flip between different data views, this project provides exactly that. It can be placed in a navigation bar's title area or dropped directly onto any view as a standalone element. The project is notably lightweight to use. A developer can add it to their project simply by dropping a single Swift file in, or by using a standard dependency manager. The README doesn't go into extensive detail beyond the code examples, but it is designed to be simple enough to install and configure quickly for anyone familiar with basic iOS app construction.
DGRunkeeperSwitch is a ready-made iOS toggle switch component for Swift that recreates the animated, sliding segmented control popularized by the Runkeeper fitness app, letting users smoothly switch between content sections.
Mainly Swift. The stack also includes Swift, iOS, UIKit.
Dormant — no commits in 2+ years (last push 2019-12-11).
The license is not specified in the project description, so it is unclear what permissions or restrictions apply to using this code.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.