initial pre-viable version of watch app

This commit is contained in:
2025-07-20 19:44:53 -04:00
parent 33b88cb8f0
commit 68d90160c6
35 changed files with 2108 additions and 179 deletions

View File

@ -8,16 +8,19 @@ final class Exercise {
var sets: Int = 0
var reps: Int = 0
var weight: Int = 0
var weightLastUpdated: Date = Date()
var weightReminderTimeIntervalWeeks: Int = 2
@Relationship(deleteRule: .nullify)
var split: Split?
init(split: Split, exerciseName: String, order: Int, sets: Int, reps: Int, weight: Int) {
init(split: Split, exerciseName: String, order: Int, sets: Int, reps: Int, weight: Int, weightReminderTimeIntervalWeeks: Int = 2) {
self.split = split
self.name = exerciseName
self.order = order
self.sets = sets
self.reps = reps
self.weight = weight
self.weightReminderTimeIntervalWeeks = weightReminderTimeIntervalWeeks
}
}