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