SwiftUI animation differs on iOS versus macOS

aleahim.com22 min read

An investigation into how SwiftUI animates reveals that the underlying mechanisms differ significantly between macOS and iOS devices. While SwiftUI on the Mac runs animations synchronously on the main thread, iPhone and iPad implementations execute animations asynchronously off the main thread using private Core Animation presentation modifiers and shared memory. Open article →