Created
April 7, 2019 16:25
-
-
Save hungtruong/55e92115f993221693f9040431ee39fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum WorkoutSegment { | |
case warmup(duration: TimeInterval, powerLow: Double, powerHigh: Double) | |
case intervals(reps: Int, onDuration: TimeInterval, offDuration: TimeInterval, onPower: Double, | |
offPower: Double) | |
case steady(duration: TimeInterval, power: Double) | |
case cooldown(duration: TimeInterval, powerLow: Double, powerHigh: Double) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment