WorkoutKit
Generated on 8/1/2024
1 search
WorkoutKit at WWDC 2024
Relevant Sessions:
Key Features and Enhancements:
-
Custom Swimming Workouts:
- Goal Types: You can create goal-based workouts for energy, time, or distance, pacer workouts, triathlon workouts, and custom workouts with structured steps.
- New Goal Type: For custom pool swimming workouts, a new goal type combines both distance and time. This is useful for swimmers who perform repeated sets of distance and rest.
- User-Selectable Workout Locations: Starting in watchOS 10.1, you no longer need to specify indoor or outdoor locations when scheduling workouts.
- Custom Step Names: In watchOS 11, you can customize step names for all workout types, providing more context for each step.
-
New Alerts and Goals:
- Average Power Alerts: For running and cycling workouts, you can specify between current and average power alerts.
- Pace Alerts: New for indoor running in watchOS 11.
- Distance Goals: Expanded support for distance goals in various outdoor activities, including new types like outdoor rowing and outdoor skating.
-
API Enhancements:
- Workout Scheduler API: Allows scheduling workouts for later.
- Display Name Property: Customize the name of your work, recovery, warmup, and cooldown steps.
Example Use Case:
- Custom Pool Swim Workout:
- Create a workout with a distance of 50 meters and a time duration of 1 minute.
- Use the pool swim distance with time goal type.
- Customize steps to indicate swim strokes.
- Schedule the workout using the workout scheduler API.
Additional Resources:
- For more details on custom swimming workouts, check out the session Build custom swimming workouts with WorkoutKit.
- For broader updates in watchOS 11, including health and fitness enhancements, refer to What’s new in watchOS 11.
Feel free to explore these sessions for a deeper dive into the new features and enhancements in WorkoutKit!
What’s new in watchOS 11
Explore new opportunities on Apple Watch, including bringing Double Tap support to your watchOS app, making your Smart Stack widgets even more relevant and interactive, and displaying your iOS Live Activities in the Smart Stack.
Build custom swimming workouts with WorkoutKit
Check out the latest in creating, customizing, and scheduling workouts using WorkoutKit. Sprint through the latest in pace and power alerts and expanded support for distance goals. And keep the momentum going with the benefits of custom step names.