<!--
{
  "availability" : [
    "iOS: 17.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "JournalingSuggestions",
  "identifier" : "/documentation/JournalingSuggestions/JournalingSuggestion/WorkoutGroup",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Journaling Suggestions"
    ],
    "preciseIdentifier" : "s:21JournalingSuggestions0A10SuggestionV12WorkoutGroupV"
  },
  "title" : "JournalingSuggestion.WorkoutGroup"
}
-->

# JournalingSuggestion.WorkoutGroup

A suggestion that contains multiple workouts that a person chooses in the picker.

```
struct WorkoutGroup
```

## Overview

The system provides an instance of this structure to your app when a person chooses multiple workout
suggestions in the [`JournalingSuggestionsPicker`](/documentation/JournalingSuggestions/JournalingSuggestionsPicker).

## Topics

### Accessing workout summary information

[`var icon: URL?`](/documentation/JournalingSuggestions/JournalingSuggestion/WorkoutGroup/icon)

The URL to an image on disc that represents the types of completed workout.

[`var duration: TimeInterval?`](/documentation/JournalingSuggestions/JournalingSuggestion/WorkoutGroup/duration)

The amount of time the workouts span.

[`var activeEnergyBurned: HKQuantity?`](/documentation/JournalingSuggestions/JournalingSuggestion/WorkoutGroup/activeEnergyBurned)

The total energy that the person burns over the workouts.

[`var averageHeartRate: HKQuantity?`](/documentation/JournalingSuggestions/JournalingSuggestion/WorkoutGroup/averageHeartRate)

The average heart rate that the person experiences during the workouts.

### Accessing individual workouts

[`var workouts: [JournalingSuggestion.Workout]`](/documentation/JournalingSuggestions/JournalingSuggestion/WorkoutGroup/workouts)

An array of workout suggestions that a person chooses in the picker.

## Relationships

### Conforms To

[`JournalingSuggestionAsset`](/documentation/JournalingSuggestions/JournalingSuggestionAsset)

---

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)