<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WorkoutKit",
  "identifier" : "/documentation/WorkoutKit/WorkoutPlan",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WorkoutKit"
    ],
    "preciseIdentifier" : "s:10WorkoutKit0A4PlanV"
  },
  "title" : "WorkoutPlan"
}
-->

# WorkoutPlan

A wrapper around a workout object that your app can use to open the object in Workout or schedule it for later.

```
struct WorkoutPlan
```

## Topics

### Creating a workout plan

[`init(WorkoutPlan.Workout, id: UUID)`](/documentation/WorkoutKit/WorkoutPlan/init(_:id:))

Creates a new workout plan from the provided workout and ID.

[`enum Workout`](/documentation/WorkoutKit/WorkoutPlan/Workout-swift.enum)

The workout for the workout plan.

### Accessing workout plan data

[`var workout: WorkoutPlan.Workout`](/documentation/WorkoutKit/WorkoutPlan/workout-swift.property)

The workout represented by this plan.

### Opening the workout plan

[`func openInWorkoutApp() async throws`](/documentation/WorkoutKit/WorkoutPlan/openInWorkoutApp())

Opens the workout in Workout on Apple Watch.

### Initializers

[`init(from: Data) throws`](/documentation/WorkoutKit/WorkoutPlan/init(from:))

### Instance Properties

[`var dataRepresentation: Data`](/documentation/WorkoutKit/WorkoutPlan/dataRepresentation)

### Instance Methods

### Operator Functions

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Identifiable`](/documentation/Swift/Identifiable)

---

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)