Re:How Swift 5.3 enhances SwiftUI’s DSL
by atarian on Sunday September 13, 2020 @03:19PM
(#24463209)
I'm looking forward to when you can just build an app once and use it across iOS and Mac right out of the box. Catalyst seems like a good first step in that direction.
[ Parent
| on HN ]
Re:How Swift 5.3 enhances SwiftUI’s DSL
by kitsunesoba on Sunday September 13, 2020 @04:01PM
(#24463508)
SwiftUI universal apps do this even better by automatically using the appropriate backing controls for the targeted platform — e.g. a SwiftUI `Button` translates to `NSButton` on macOS and `UIButton` on iOS.
I think it's ultimately what Apple intends to make the flagship way to develop on their platforms. Catalyst exists mostly as a way to pull existing iOS apps and iOS developers under the Mac umbrella.
Re:How Swift 5.3 enhances SwiftUI’s DSL
by PostThisTooFast on Tuesday September 15, 2020 @04:13AM
(#24478975)
Yes. Catalyst is a kinda-clever but janky solution. It basically puts the iPad simulator on the screen.