Skip to content

gharary/muscle-tracker-with-swift-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Swift Data Workout Tracker

Overview

Welcome to the Swift Data Workout Tracker repository! This project serves as a sample application showcasing how to effectively use Swift Data, Apple's latest framework to store data, to build a simple workout tracker. The goal of the workout tracker is to assist athletes in logging their nightly gym sessions, recording the weights used for each exercise, and tracking their progress over time using a convenient Chart view.

Features

  1. Workout Logging: Users can log their daily workouts, specifying the exercise, sets, repetitions, and the weight used.

  2. Data Storage with Swift Data: The application utilizes Swift Data, to securely store workout data on the device.

  3. Progress Tracking: Athletes can visualize their progress over weeks using the Chart view, allowing them to see improvements and make informed adjustments to their training routines.

Getting Started

Prerequisites

Make sure you have the following tools installed:

Installation

  1. Clone the repository to your local machine:

    https://github.com/gharary/muscle-tracker-with-swift-data.git
  2. Open the project in Xcode.

  3. Build and run the application on a simulator or a physical device.

Usage

  1. Launch the app on your device.
  2. Navigate to the "Workout Data" tab.
  3. Click + button and in the new view, add some workouts
  4. Select a workout and in the new view, fill in the details of your workout, including date and weight.
  5. Save the workout entry.

To track your progress over time:

  1. Go to the "Workout Progress" tab.
  2. Select a workout from top and view the chart to visualize your workout data and track your improvements.

Contributing

If you'd like to contribute to the project, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix
  3. Submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

Thank you for checking out the Swift Data Workout Tracker! If you have any questions or suggestions, feel free to open an issue or reach out to the maintainers.

Happy coding! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages