News for hackers. Stuff that matters.
Re:How Swift 5.3 enhances SwiftUI’s DSL by bsaul on Sunday September 13, 2020 @03:19PM (#24463208)
I really wonder where this is going.

Swift had to interop with objective-c right from the start, which itself had to interop with C. SwiftUI feels like a wrapper over UIKit (or at the minimum CoreFoundation).

All in all, it seems impossible that so many layers of compromise over so many years, can lead to anything clean in the long run.

Re:How Swift 5.3 enhances SwiftUI’s DSL by pmattos on Sunday September 13, 2020 @09:58PM (#24465991)
SwiftUI provides a completely new UI programming paradigm using the reactive model popularized by web frameworks, RxSwift, etc.

Using UIKit is just Apple current implementation strategy right now. That doesn’t comprise the SwiftUI model & semantics in any meaningful way. It doesn’t feel at all like a wrapper over UIKit IMO. It’s a completely new beast...

Re:How Swift 5.3 enhances SwiftUI’s DSL by ericlewis on Sunday September 13, 2020 @03:49PM (#24463421)
It wraps UIKit in some instances. But not most.
Re:How Swift 5.3 enhances SwiftUI’s DSL by saagarjha on Sunday September 13, 2020 @04:50PM (#24463854)
I would say that most SwiftUI controls instantiate UIKit views under the hood.
Re:How Swift 5.3 enhances SwiftUI’s DSL by rahkiin on Sunday September 13, 2020 @05:29PM (#24464097)
UIKit or WatchKit or AppKit depending on the platform