About β’ Preview β’ Installation β’ Features β’ License
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.
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
- 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
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.
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