How to Recreate Control Events in SwiftUI

Mark van Wijnen
17 min readMar 20, 2024
Photo from Handling touches in your view

Background

At WWDC 2018, Apple designers presented a talk titled “Designing Fluid Interfaces”, explaining the design reasoning behind the gestural interface you see in your phone today. If you haven’t seen the talk yet, I highly suggest you do.

For this story we will focus on the Designing a tap part at around 01:04:40 into the video. Here they demonstrate…

--

--

Mark van Wijnen

macOS/iPadOS/iOS/watchOS/visionOS developer and SwiftUI enthousiast. “Stay Hungry, Stay Foolish!” — Steve Jobs