~/talk

Explore WorkoutKit framework on iOS 17 and watchOS 10

Talkat Swift Craft 2024 · 2024-05-21..05-24· [ios]
slides:none on file

Shows how WorkoutKit on iOS 17 and watchOS 10 actually mirrors live workouts: create a configuration, build a primary session on Apple Watch and a mirror session on iPhone, call startMirroringCompanionDevice, set session delegates, and HealthKit keeps state in sync. Covers planning with WorkoutScheduler and workoutPreview, composing interval/pace/power steps, handling up to ~85 activity types, storing up to 50 scheduled workouts across a 15‑day window, connecting bike sensors (Wahoo) to get cadence/speed, and notes scheduled compositions intentionally contain no HealthKit metrics.

AI-written summary · about

  1. 0:00Introduction and background
  2. 7:11WorkoutKit overview and purpose
  3. 10:31HealthKit and WorkoutKit integration
  4. 16:19Creating workout sessions
  5. 19:56Mirroring sessions between devices
  6. 23:13Planning and scheduling workouts
  7. 27:08Workout composition and steps
  8. 32:10Metrics and HealthKit data
  9. 33:17WatchOS 10 sensors and tracking
~/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.