I understand there are many differences between Mac and iOS, but with Macs getting native iOS app support and the two platforms being similar more than ever, I wonder if it is possible to make a singular SwiftUI and then compile it for both, or must I still make a new one for each?
Have you tried Xcode 12 beta?
You can create a Multiplatform/App project.
You just need to write the same code and compile it for both for a simple app.
In a practical app, you may need to add some platform specific features, but you can share most parts of code in common with iOS and macOS.
You can create a Multiplatform/App project.
You just need to write the same code and compile it for both for a simple app.
In a practical app, you may need to add some platform specific features, but you can share most parts of code in common with iOS and macOS.