Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> ideal for publishing to services like the new Apple Arcade and macOS/iPadOS Catalyst

I was just looking into this yesterday but found no info - so you're saying it's now possible to write an iPadOS app with SwiftUI and use Catalyst to port it to macOS? It used to be a "known issue" in the beta that this was not supported... does this work now?



Yes, I did it earlier today and it was literally as simple as clicking the ‘macOS’ button under build targets.

That said, the app running out of the box needs a lot of work to feel like a proper macOS app.


I haven’t tried it but it must be one of their top priorities to get it working soon, as Mac/iPad hybrid apps are one of the use cases where SwiftUI makes the most sense.

You can of course write regular (non-Catalyst) projects that share a lot of the same code between Mac and iPad. In that case you may not even need Catalyst, so maybe Catalyst is only UIKit-on-Mac.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: