One Logo Pool Ball
WorkoutKit · IOS API REFERENCE

WorkoutPlan

struct · iOS 17.0+ · SDK 27.1

struct WorkoutPlan

Members (6)

get · iOS 17.0+

dataRepresentation

TypeScript
get dataRepresentation(): ArrayBuffer
Swift declaration
var dataRepresentation: Data { get throws }
get · iOS 17.0+

id

TypeScript
get id(): string
Swift declaration
var id: UUID

The stable identity of the entity associated with this instance.

set · iOS 17.0+

id

TypeScript
set id(value: string)
Swift declaration
var id: UUID

The stable identity of the entity associated with this instance.

get · iOS 17.0+

workout

TypeScript
get workout(): WorkoutPlan_Workout
Swift declaration
var workout: WorkoutPlan.Workout
set · iOS 17.0+

workout

TypeScript
set workout(value: WorkoutPlan_Workout)
Swift declaration
var workout: WorkoutPlan.Workout
init · iOS 17.0+

init

TypeScript
static init(workout: WorkoutPlan_Workout, id?: string): WorkoutPlan
Swift declaration
init(_ workout: WorkoutPlan.Workout, id: UUID = UUID())

Skipped declarations

No declarations were skipped in this snapshot.

All WorkoutKit types →