~/talk

Workout experiences watchOS and iOS with WorkoutKit

Talkat #Pragma Conference 2023 · 2023-10-05..10-06· [ios, swift]
slides:none on file

WorkoutKit arrives in iOS 17 / watchOS 10 / visionOS and adds concrete APIs: WorkoutKit (iOS 17 / watchOS 10 / visionOS). Apps request HealthKit entitlements and authorizations, build workouts with Configuration, Session and Builder, compose blocks/steps/intervals/goals, preview and push a custom workout from iPhone to Apple Watch, and schedule workouts via the Workout Scheduler / WorkoutPlan / ScheduledWorkout types that use DateComponents. Mirroring uses mirroring via HealthKit sessions so the iPhone app wakes in background and shows live data from watch, including cadence and external bike sensors.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 5:51WorkoutKit framework overview
  3. 12:13Mirroring workouts between devices
  4. 16:30Custom workout planning and scheduling
  5. 20:11Using external sensors with WorkoutKit
  6. 23:29Live demo of custom workout creation
  7. 26:03Personal motivation and health metrics
  8. 28:35Apple Watch collection and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.