Michael Long
Dec 6, 2021

--

Not a full-fledged library yet, but you might want to take a look at my Builder project to see what's possible with obtaining a SwiftUI-like declarative syntax (including view composition) in UIKit.

https://github.com/hmlongco/Builder

As to SwiftUI, yes it has its own challenges, but it's state-changes, view-updates approach also eliminates a huge set of potential application bugs. You simply have to think about things differently, and above all bind changes as low in the view tree as possible.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

Responses (1)