---
title: HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkpredicatekeypathworkouttotalswimmingstrokecount
---

# HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount

The key path for accessing the number of strokes during a swimming workout.

## Declaration

```swift
let HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount: String
```

## See Also

### Workout keys

- [HKPredicateKeyPathWorkout](healthkit/hkpredicatekeypathworkout.md)
- [HKPredicateKeyPathWorkoutType](healthkit/hkpredicatekeypathworkouttype.md)
- [HKPredicateKeyPathWorkoutDuration](healthkit/hkpredicatekeypathworkoutduration.md)
- [HKPredicateKeyPathWorkoutAverageQuantity](healthkit/hkpredicatekeypathworkoutaveragequantity.md)
- [HKPredicateKeyPathWorkoutMaximumQuantity](healthkit/hkpredicatekeypathworkoutmaximumquantity.md)
- [HKPredicateKeyPathWorkoutMinimumQuantity](healthkit/hkpredicatekeypathworkoutminimumquantity.md)
- [HKPredicateKeyPathWorkoutSumQuantity](healthkit/hkpredicatekeypathworkoutsumquantity.md)
- [HKPredicateKeyPathWorkoutTotalDistance](healthkit/hkpredicatekeypathworkouttotaldistance.md)
- [HKPredicateKeyPathWorkoutTotalEnergyBurned](healthkit/hkpredicatekeypathworkouttotalenergyburned.md)
- [HKPredicateKeyPathWorkoutTotalFlightsClimbed](healthkit/hkpredicatekeypathworkouttotalflightsclimbed.md)
