<!--
{
  "documentType" : "article",
  "framework" : "Updates",
  "identifier" : "/documentation/Updates/WorkoutKit",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "WorkoutKit updates"
}
-->

# WorkoutKit updates

Learn about important changes to WorkoutKit.

## Overview

Browse notable changes in <doc://com.apple.documentation/documentation/WorkoutKit>.

## June 2024

### Custom swim workouts

- Create custom pool swimming workouts with the <doc://com.apple.documentation/documentation/HealthKit/HKWorkoutActivityType/swimming> activity.
- Set a distance-with-time goal for custom swimming workouts with the <doc://com.apple.documentation/documentation/WorkoutKit/WorkoutGoal/poolSwimDistanceWithTime(_:_:)> goal.

### General

- Provide a custom name to a workout step using the <doc://com.apple.documentation/documentation/WorkoutKit/WorkoutStep> structure’s <doc://com.apple.documentation/documentation/WorkoutKit/WorkoutStep/displayName>.
- Preview workouts on Apple Watch using the <doc://com.apple.documentation/documentation/SwiftUI/View/workoutPreview(_:isPresented:)> view modifier.
- Set average power goals for cycling and running with <doc://com.apple.documentation/documentation/WorkoutKit/PowerThresholdAlert> and <doc://com.apple.documentation/documentation/WorkoutKit/PowerRangeAlert>.
- Set pace goals for indoor running with the <doc://com.apple.documentation/documentation/WorkoutKit/SpeedThresholdAlert> and <doc://com.apple.documentation/documentation/WorkoutKit/SpeedRangeAlert> targets.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)