How evan-king-dev/epoch-lifts works
Epoch Lifts is an iPhone workout tracker whose current workflow is to start or resume a workout, choose exercises, log sets, and browse or delete workout history. The app uses SwiftUI views over a WorkoutViewModel; WorkoutCore supplies workout models, input parsing, rep-counting abstractions, and persistence. The README also describes Watch-based counting, replay, and rep-quality analysis as future capabilities, not implemented subsystems in this tree. Relationships are limited to the sampled source and README; planned integrations are shown as unverified.
Main entry points: WorkoutViewModel.swift Workout State · ActiveWorkoutView.swift Active Workout · WorkoutListView.swift Workout List · EpochLiftsApp.swift App Wiring
Components 25
iPhone App
- App Wiring
EpochLifts/EpochLiftsApp.swift - Workout List
EpochLifts/Views/WorkoutListView.swift - Active Workout
EpochLifts/Views/ActiveWorkoutView.swift - Log Set
EpochLifts/Views/LogSetView.swift - Workout Detail
EpochLifts/Views/WorkoutDetailView.swift - Workout Timer
EpochLifts/Views/WorkoutTimerView.swift - Workout State
EpochLifts/ViewModels/WorkoutViewModel.swift - Exercise Picker
EpochLifts/Views/ExercisePickerView.swift
Workout Core
- Input Parsing
WorkoutCore/Sources/WorkoutCore/Input/SetInput.swift - Counter Contract
WorkoutCore/Sources/WorkoutCore/RepCounting/RepCountingService.swift - Manual Counter
WorkoutCore/Sources/WorkoutCore/RepCounting/ManualRepCounter.swift - Rep Events
WorkoutCore/Sources/WorkoutCore/RepCounting/RepEvent.swift - Exercise Catalog
WorkoutCore/Sources/WorkoutCore/Models/ExerciseType.swift - Workout Records
WorkoutCore/Sources/WorkoutCore/Models/Workout.swift - Logged Exercise
WorkoutCore/Sources/WorkoutCore/Models/LoggedExercise.swift - Logged Set
WorkoutCore/Sources/WorkoutCore/Models/LoggedSet.swift - Rep Source
WorkoutCore/Sources/WorkoutCore/Models/RepCountSource.swift - Storage Contract
WorkoutCore/Sources/WorkoutCore/Persistence/WorkoutStorage.swift - JSON File Store
WorkoutCore/Sources/WorkoutCore/Persistence/FileWorkoutStorage.swift
Planned Capabilities
- Watch Rep Counting
- Motion Replay
- Rep Quality ML
- History Tools
- Templates and Export
Other components
- Lifter
Connections 29
- App Wiring → Workout List: launches
EpochLifts/EpochLiftsApp.swift - App Wiring → Workout State: creates
EpochLifts/EpochLiftsApp.swift - App Wiring → JSON File Store: configures
EpochLifts/EpochLiftsApp.swift - App Wiring → Manual Counter: configures
EpochLifts/EpochLiftsApp.swift - Lifter → Workout List: starts or browses
README.md - Workout List → Workout State: starts and deletes
EpochLifts/Views/WorkoutListView.swift - Workout List → Active Workout: opens
EpochLifts/Views/WorkoutListView.swift - Workout List → Workout Detail: opens
EpochLifts/Views/WorkoutListView.swift - Active Workout → Workout State: logs and edits
EpochLifts/Views/ActiveWorkoutView.swift - Active Workout → Exercise Picker: presents
EpochLifts/Views/ActiveWorkoutView.swift - Active Workout → Log Set: renders
EpochLifts/Views/ActiveWorkoutView.swift - Active Workout → Workout Timer: renders
EpochLifts/Views/ActiveWorkoutView.swift - Log Set → Workout State: submits set
EpochLifts/Views/LogSetView.swift - Workout Detail → Workout State: reads and deletes
EpochLifts/Views/WorkoutDetailView.swift - Exercise Picker → Exercise Catalog: offers catalog
EpochLifts/Views/ExercisePickerView.swift - Workout State → Input Parsing: validates input
EpochLifts/ViewModels/WorkoutViewModel.swift - Workout State → Storage Contract: loads and saves
EpochLifts/ViewModels/WorkoutViewModel.swift - Workout State → Counter Contract: controls counter
EpochLifts/ViewModels/WorkoutViewModel.swift - Manual Counter → Counter Contract: implements
WorkoutCore/Sources/WorkoutCore/RepCounting/ManualRepCounter.swift - Manual Counter → Rep Events: emits
WorkoutCore/Sources/WorkoutCore/RepCounting/ManualRepCounter.swift - Workout State → Workout Records: updates history
EpochLifts/ViewModels/WorkoutViewModel.swift - JSON File Store → Storage Contract: implements
WorkoutCore/Sources/WorkoutCore/Persistence/FileWorkoutStorage.swift - Workout State → Watch Rep Counting: can accept counter
README.md - Workout State → Motion Replay: can accept counter
README.md - Watch Rep Counting → Rep Events: sends live events
README.md - Motion Replay → Counter Contract: planned source
README.md - Watch Rep Counting → Rep Quality ML: feeds motion data
README.md - Workout Records → History Tools: planned history
README.md - Workout Records → Templates and Export: planned support
README.md