Michael Long
Aug 15, 2021

--

Funny, I think everyone and their kid brother has played with this.

https://github.com/hmlongco/Builder

Thait said, you lost me at, "...without having to accommodate any reactive programming patterns.".

Builder users RxSwift to setup data bindings and manipulations. (I'd use Combine, but it's still tied to OS releases too, the same thing that prevents me from using SwiftUI in our companies production apps.)

Builder is a little more feature complete than StackKit for SwiftUI-like development, in that we've created more views for Labels, Dividers, and whatnot, while also adding common view modifiers for things like color, fonts, and so on.

LabelView(viewModel.someText)

.font(.footnote)

.hidden(bind: viewModel.hideFootnote)

All in all it's a decent compromise.

--

--

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.

No responses yet