Cardyo
š« š« Cardyo is a sports WatchOS application that records and calculates cardiovascular metrics with HealthKit. This application is designed for people who enjoy sports commonly played in Indonesia and wants to tracked their cardiovascular metrics. š šø
Install / Use
/learn @dekapd99/CardyoREADME
About
Cardyo is a sports WatchOS application that records and calculates cardiovascular metrics. This application is designed for people who enjoy sports commonly played in Indonesia and wants to tracked their cardiovascular metrics.
Preview
<p align="center"> <a href="#" target="_blank"><img src="preview.gif" width="400"></a> </p> <!-- ABOUT THE FILE & FOLDER STRUCTURE -->Folder & File Structure
Here is the file and folder structure for Cardyo:
.
āāā Assets # Contains Colors, Logo & Images
āāā MyWorkouts WatchKit Extension # Contains Cardyo Watch Apps
āāā CardyoApp # Contains Cardyo Root Project
āāā ComplicationController # Contains Complication View When Lock Screen Mode Activated
āāā Helper # Contains EnumTabView Data and Extension Activity Type
ā āāā EnumTabViewData.swift
ā āāā ExtensionActivityType.swift
ā
āāā Model # Contains Data & Their Type
ā āāā SummaryMetricModel
ā
āāā ViewModel # Contains Reusable General Function
ā āāā WorkoutViewModel.swift
ā āāā TimeFormatterViewModel.swift
ā āāā MetricViewModel.swift
ā
āāā View # Contains Reusable Main Apps View
āāā ActivityRingsView.swift
āāā ControlsView.swift
āāā ElapsedTimeView.swift
āāā MetricView.swift
āāā SessionPagingView.swift
āāā StartView.swift
āāā SummaryView.swift
āāā BreathView.swift
āāā RingsView.swift
āāā SummaryPagingView.swift
āāā EndWorkoutView.swift
<!-- List of Features -->
Features:
- HealthKit Integration
- Indonesian Common Sport / Exercise / Workout
- HealthKit Cardyo Metrics (Calories Burned, Running Walking Distance, and Heart Rate)
- Activity Rings
- WatchOS App & Extension
- Workout Notifications (Daily Workout Reminder at 07.00 A.M.)
- 60 Seconds Resting / Breathing Animation
- Pulse Animation for Breathing Flower
- Controls View for Pause and Stop Exercising
- Local Files Music Integration
- Core Animation With Anchor
- Reusable Components
- All Stacks (HStack, VStack, ZStack)
- User Notifications Permission
- HealthKit Permission for Read and Write Data
- Complication for Watch Lock Screen Mode
- Session Get and Fetch Data
Build With
<!-- How to Install -->Installation
To use this repository, please follow the usage instructions below and make sure that Git is installed on your computer (execute all commands in cmd.exe or terminal):
- Download the .zip file or clone the repository using the following command:
git clone https://github.com/dekapd99/Cardyo.git
-
Once the project is downloaded or cloned, open the project in Xcode by clicking on "Open a Project or File".
-
Make sure to select Apple Watch as the target simulator (Device column at the top of Xcode).
-
Build and Run the project.
License
MIT License: Copyright (c) 2022
DISCLAIMER: ASSETS ARE USED FOR EDUCATION PURPOSE ONLY, NOT FOR COMMERCIAL PURPOSES
Assets Source: SF Symbols 4 Icon
Figma Projects: Cardyo Figma
Medium Article: Cardyo Medium
<p align="right">(<a href="#about">back to top</a>)</p>