News for hackers. Stuff that matters.
Re:Static Types in SwiftUI by cerberusss on Wednesday November 06, 2019 @02:13AM (#21460390)
I hadn't realized that SwiftUI could play a role here. Sounds hugely interesting! Best of luck!
Re:Static Types in SwiftUI by Razengan on Wednesday November 06, 2019 @06:32AM (#21461524)
Self-plug: My pet project's an open source game engine [0] that lets you use SwiftUI over SpriteKit/Metal views. Once I figure out how to write custom DSLs in Swift, I hope to have an API for describing game scene entities and their components in a SwiftUI-like declarative syntax, or maybe just make them all behave like SwiftUI views + view modifiers.

You'd also be able to use mostly the same code (even for touch and mouse input) on both iOS/macOS without needing to use Catalyst (which brings bugs of its own) :)

[0] https://github.com/InvadingOctopus/octopuskit