API Differences in WorkoutKit in macOS 15.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in WorkoutKit in the macOS 15.0 SDK.

Table of Contents

Protocols

WorkoutAlert

Classes

WorkoutScheduler

Structs

CadenceRangeAlert
CadenceThresholdAlert
CustomWorkout
HeartRateRangeAlert
HeartRateZoneAlert
IntervalBlock
IntervalStep
PacerWorkout
PowerRangeAlert
PowerThresholdAlert
PowerZoneAlert
ScheduledWorkoutPlan
SingleGoalWorkout
SpeedRangeAlert
SpeedThresholdAlert
SwimBikeRunWorkout
WorkoutPlan
WorkoutStep

Enums

StateError
WorkoutAlertMetric
WorkoutGoal
WorkoutScheduler
AuthorizationState

Functions & Methods

WorkoutAlert
public static func cadence(_ value: Swift.Double, unit: Foundation.UnitFrequency = WorkoutAlertMetric.countPerMinute) -> Self
WorkoutAlert
public static func cadence(_ range: Swift.ClosedRange<Swift.Double>, unit: Foundation.UnitFrequency = WorkoutAlertMetric.countPerMinute) -> Self
WorkoutAlert
public static func heartRate(_ range: Swift.ClosedRange<Swift.Double>, unit: Foundation.UnitFrequency = WorkoutAlertMetric.countPerMinute) -> Self
WorkoutAlert
public static func heartRate(zone: Swift.Int) -> Self
WorkoutAlert
public static func power(_ value: Swift.Double, unit: Foundation.UnitPower) -> Self
WorkoutAlert
public static func power(_ value: Swift.Double, unit: Foundation.UnitPower, metric: WorkoutKit.WorkoutAlertMetric) -> Self
WorkoutAlert
public static func power(_ range: Swift.ClosedRange<Swift.Double>, unit: Foundation.UnitPower) -> Self
WorkoutAlert
public static func power(_ range: Swift.ClosedRange<Swift.Double>, unit: Foundation.UnitPower, metric: WorkoutKit.WorkoutAlertMetric) -> Self
WorkoutAlert
public static func power(zone: Swift.Int) -> Self
WorkoutAlert
public static func speed(_ value: Swift.Double, unit: Foundation.UnitSpeed, metric: WorkoutKit.WorkoutAlertMetric = .current) -> Self
WorkoutAlert
public static func speed(_ range: Swift.ClosedRange<Swift.Double>, unit: Foundation.UnitSpeed, metric: WorkoutKit.WorkoutAlertMetric = .current) -> Self
WorkoutScheduler
final public func requestAuthorization() async -> WorkoutKit.WorkoutScheduler.AuthorizationState

Properties & Constants

HealthKit.HKWorkout
public var workoutPlan: WorkoutKit.WorkoutPlan?
WorkoutScheduler
final public var authorizationState: WorkoutKit.WorkoutScheduler.AuthorizationState

Conformances

IntervalStep.Purpose
Swift.Equatable
IntervalStep.Purpose
Swift.Hashable
StateError
Swift.Equatable
StateError
Swift.Hashable
WorkoutScheduler.AuthorizationState
Swift.Equatable
WorkoutScheduler.AuthorizationState
Swift.Hashable
WorkoutScheduler.AuthorizationState
Swift.RawRepresentable