๐Ÿ‹๏ธ Home Gym - iOS/iPadOS Fitness App

April 19, 2025 ยท View on GitHub

Developed by James Deming Kong

๐Ÿ† WINNING SUBMISSION โœ…: Apple Swift Student Challenge 2025

Interested in the Swift Student Challenge? Learn more here.

Jan 2025 - Feb 2025

Home Gym App Screen 1 Home Gym App Screen 2 Home Gym App Screen 3

๐ŸŽฅ Demo Videos

Guided Demo

Full Uncut App Walkthrough

๐Ÿ“„ Essay Portion of Submission

Written Responses

๐Ÿ“Œ Overview

Home Gym is a smart personal fitness tracker app designed to make working out at home more engaging and effective. By leveraging advanced body tracking technology and computer vision, Home Gym allows you to monitor your exercises in real-time, ensuring proper form and providing feedback on your progress. The app features comprehensive workout logging and analytics, allowing users to track their fitness journey through detailed exercise metrics, progress visualization, and performance trends. Supporting a variety of exercises, the app includes features like automatic rep counting, personalized goal setting, workout history management, and achievement rewards to keep you motivated.

๐ŸŽฏ Key Features

๐Ÿ” Real-time Body Tracking

  • Body tracking and form analysis using Vision Framework
  • Automatic rep counting
  • Voice guidance and form feedback

๐Ÿƒ Multiple Supported Exercises (12)

  • Cardio

    • Jumping Jacks
    • High Knees
  • Lower Body:

    • Basic Squats
    • Wall Squats
    • Lunges
    • Standing Side Leg Raises
  • Core:

    • Pilates Sit-Ups Hybrid
    • Planks
  • Upper Body:

    • Push-Ups
    • Bicep Curls - Simultaneous
    • Lateral Raises
    • Front Raises

๐Ÿ“Š Detailed Progress Tracking

  • Interactive calendar view
  • Detailed workout history
  • Trend Analytics Charts
  • Achievement system

โš™๏ธ Customization

  • Personal metrics (age, height, weight)
  • Daily/Weekly/Monthly goals
  • Theme and UI preferences
  • Voice feedback options

๐Ÿ”ง Technologies Used

  • SwiftUI โ€“ Handles building the app UI and interactions
  • UIKit - Handles wrapping views and triggering haptics
  • Vision โ€“ Handles real-time body pose tracking
  • AVCaptureSession โ€“ Handles camera input for motion tracking
  • AVFoundation - Handles audio playback for sound effects
  • CALayer โ€“ Displays overlays for joints and movement guidance
  • AVSpeechSynthesizer โ€“ Provides real-time voice feedback
  • Charts - For visual analytics and statistics
  • TipKit - Provides tip info to explain features

๐Ÿ’พ Installation

Via Swift Playgrounds (iPad)

  1. Download and extract this repository
  2. Transfer files to your iPad
  3. Open with Swift Playgrounds app
  4. Tap the Play button to run

๐Ÿ“ฑ Download Swift Playgrounds

Via Xcode (Mac)

  1. Open the project in Xcode
  2. Select your target device
  3. Click Run (โ–ถ๏ธ)

Learn more about running iOS apps in previews and sideloading

โญ๏ธ Credits

Sound Effects: Material Design (CC-BY 4.0)

App Lunge Figure Icon: Warrior Pose Right Vector Icon Design Vectors by Vecteezy

iOS/iPadOS App Icon Mock-up: App Icon Generator (CC-BY 4.0)

iPhone/iPad Device Mock-ups: Apple Device Mockups (Apple Design Resources License)