Saagar Jha

So apparently NSButton is a SwiftUI view now
Screenshot of Xcode view debugger attached to Sleuth’s sidebar, which has some buttons. One button is selected, showing that it is in fact a _NSCoreHostingView<AppKitButton>.
2 replies →
2 replies

Helge Heß

(replying to Saagar Jha)

@saagar Even more than I predicted 🙂 But it follows the approach taken elsewhere, e.g. the Objective-C Foundation being backed by Swift.

"I don’t think UIKit will go away, but that a SwiftUI Button doesn’t use UIKit or AppKit, seems entirely plausible"

Saagar Jha

(replying to Helge Heß)
@helge I think you can argue it uses both and neither

john

(replying to Saagar Jha)

@saagar nooooo! Why? What the hell is this?

Saagar Jha

(replying to john)
@nyan_satan App that I should finish someday. But also new buttons