Skip to content
0:00 / 0:00

#swiftui#timelineview#canvas

SwiftUI Special Effects – TimelineView, Canvas, particles, and… AirPods?!

Paul Hudson

122K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Paul Hudson

Intermediate. Assumes working knowledge.

36K views4 years ago2 recommendations

Mobile developmentGraphics and audioSwiftiOS and SwiftUIRendering

Paul Hudson demonstrates how to use SwiftUI TimelineView, Canvas, and the AirPods Motion API to create interactive special effects.

SwiftUI does a great job building apps with a system-standard user interface, but it's also more than capable of creating beautiful special effects too. In this video I show you how to combine gestures, motion, symmetry and more to create an interactive light show unlike anything you've seen before! Sponsored by Sentry: sentry.io To follow along you'll need Xcode 13, iOS 15, a physical device, and this image asset: hws.dev/spark.zip

Why it's here

2 people recommend this

What people say. Recommended as a demonstration of using the AirPods Motion API in Swift.

u/MattRighettiin r/swift • Recommends

On “Turns out Swift has an AirPods Motion API! I made a quick sample project to demo it, but there are so many potential applications of this for Games, Accessibility etc.”

link to this video

u/clearbrianin r/swift • Recommends

On “Turns out Swift has an AirPods Motion API! I made a quick sample project to demo it, but there are so many potential applications of this for Games, Accessibility etc.”

@twostraws draws with his head here :) skip to 28:50. link to this video