git404hub

what is dgrunkeeperswitch fr?

gontovnik/dgrunkeeperswitch — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2019-12-11

1,868SwiftAudience · developerComplexity · 2/5DormantSetup · easy

tl;dr

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.

vibe map

mindmap
  root((repo))
    What it does
      Animated segmented toggle
      Sliding pill effect
      Switch content sections
    How to use
      Provide segment titles
      Set background colors
      Place on screen
    Where it fits
      Navigation bar title area
      Standalone on any view
      Health and activity apps
    Tech stack
      Swift
      iOS UIKit
    Audience
      iOS app developers
      UI designers
    Setup
      Drop in one file
      Or use dependency manager

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Add an animated segmented toggle to a health app's top navigation bar so users can switch between Daily, Weekly, and Monthly views.

VIBE 2

Build a social app where users slide between a Feed and a Leaderboard using a polished pill-style switch.

VIBE 3

Replace the standard iOS segmented control with a more dynamic, rounded toggle in any custom screen layout.

what's the stack?

SwiftiOSUIKit

how it stacks up fr

gontovnik/dgrunkeeperswitchjaywcjlove/devhubsw33tlie/macshot
Stars1,8682,0171,648
LanguageSwiftSwiftSwift
Last pushed2019-12-11
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity2/51/51/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

No special infrastructure needed, just drop the Swift file into an Xcode project or use a standard dependency manager like CocoaPods.

The license is not specified in the project description, so it is unclear what permissions or restrictions apply to using this code.

in plain english

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.

prompts (copy fr)

prompt 1
I want to add DGRunkeeperSwitch to my iOS app. Show me how to install it by dropping the single Swift file into my Xcode project and adding the control to a view controller with two segments titled 'Feed' and 'Profile'.
prompt 2
Help me configure DGRunkeeperSwitch with three segments labeled 'Daily', 'Weekly', and 'Monthly'. I want to customize the background color to dark gray and the selected segment text color to white. Provide the Swift code to set this up.
prompt 3
I'm placing DGRunkeeperSwitch inside my navigation bar's title area. Walk me through how to initialize it, set titles for each segment, and handle the event when the user taps a different segment so I can switch the content below.
prompt 4
I already have DGRunkeeperSwitch working with two segments. Now show me how to add a third segment dynamically and change the animation duration so the sliding pill moves faster.

Frequently asked questions

what is dgrunkeeperswitch fr?

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.

What language is dgrunkeeperswitch written in?

Mainly Swift. The stack also includes Swift, iOS, UIKit.

Is dgrunkeeperswitch actively maintained?

Dormant — no commits in 2+ years (last push 2019-12-11).

What license does dgrunkeeperswitch use?

The license is not specified in the project description, so it is unclear what permissions or restrictions apply to using this code.

How hard is dgrunkeeperswitch to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is dgrunkeeperswitch for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.