One Project, Every Apple UI Framework
Mac, iPhone and iPad, in SwiftUI and in AppKit and UIKit. How I build every app for all of them with one Xcode project and one local package, and a template you can download
Mac, iPhone and iPad, in SwiftUI and in AppKit and UIKit. How I build every app for all of them with one Xcode project and one local package, and a template you can download
A SwiftUI List looks like a SwiftUI thing. I looked underneath, on the Mac, an iPhone and an iPad, and what is running is a table view or a collection view from the platform, with SwiftUI's own cells and diffing on top. Here is what is there, what SwiftUI does with it, and what it costs.
SwiftUI modifiers compose in the same order as Core Graphics transforms, read from the other end, and offset snaps to the pixel grid so a later scale multiplies its rounding, measured by rendering eight modifier chains against closed-form matrix math
How I prove a from-scratch SwiftUI engine is correct by holding it against real SwiftUI in 125 differential tests, with the actual code, the harness, the firewall, and the floating-point floor that makes agreement mean identical
SwiftUI is the thin graph sitting above 40+ years of engineering. Measured against the real framework and read against Apple's own patent, it is a single demand-driven graph, and the least remarkable engine in the stack it rests on. Here is SwiftUI laid bare, with a hint of the far more interesting machines underneath.