One Logo Pool Ball
WorkoutKit · IOS API REFERENCE

WorkoutStep

struct · iOS 17.0+ · SDK 27.1

struct WorkoutStep

Members (8)

get · iOS 18.0+

displayName

TypeScript
get displayName(): (string) | null
Swift declaration
var displayName: String?
set · iOS 18.0+

displayName

TypeScript
set displayName(value: (string) | null)
Swift declaration
var displayName: String?
init · iOS 18.0+

init

TypeScript
static initGoalAlertDisplayName(goal?: WorkoutGoal, alert?: (SDKHandle) | null, displayName?: (string) | null): WorkoutStep
Swift declaration
init(goal: WorkoutGoal = .open, alert: (any WorkoutAlert)? = nil, displayName: String? = nil)
init · iOS 17.0+

init

TypeScript
static initGoalAlert(goal?: WorkoutGoal, alert?: (SDKHandle) | null): WorkoutStep
Swift declaration
init(goal: WorkoutGoal = .open, alert: (any WorkoutAlert)? = nil)
get · iOS 17.0+

goal

TypeScript
get goal(): WorkoutGoal
Swift declaration
var goal: WorkoutGoal
set · iOS 17.0+

goal

TypeScript
set goal(value: WorkoutGoal)
Swift declaration
var goal: WorkoutGoal
get · iOS 17.0+

alert

TypeScript
get alert(): (SDKHandle) | null
Swift declaration
var alert: (any WorkoutAlert)?
set · iOS 17.0+

alert

TypeScript
set alert(value: (SDKHandle) | null)
Swift declaration
var alert: (any WorkoutAlert)?

Skipped declarations

No declarations were skipped in this snapshot.

All WorkoutKit types →