3D and animation, five years apart
From a Core Animation 3D cube in 2021 to what SwiftUI really does with 3D and animation.
- Core Animation Layers forming a 3D cube
Core Animation in 2.5D
- Bringing Advanced SwiftUI Animations to macOS
A port of SwiftUILab's Advanced Animations that also supports macOS
- SwiftUI 3D is Flat
SwiftUI's iOS and macOS 3D is per-view projected 2D output composited by painter's order, with no shared-space depth-sorted hierarchy, and the APIs that would fix it are visionOS-only, proven with a rendered counterexample and four executable witnesses
- How SwiftUI Animates, and Where It Is Not Like UIKit
UIKit and AppKit hand the render server a description of a motion and walk away. SwiftUI does not, and it does not behave the same on a Mac as on an iPhone. I measured both on a Mac, two simulators, a real iPhone and a real iPad.