Multiplatform App Tutorial: SwiftUI and Xcode 12

Learn how to use Xcode 12’s multiplatform app template and SwiftUI to write a single app that runs on every Apple platform. By Renan Benatti Dias.

4.8 (19) · 1 Review

Download materials
Save for later
Share
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where to Go From Here?

Download the final project by clicking the Download Materials button at the top or bottom of the tutorial.

In this tutorial, you learned how SwiftUI makes it easier to create a multiplatform app that runs on iOS, iPadOS and macOS. Not only that, but you learned how to reuse views on both platforms and create custom behaviors and UIs for each, all in the same project.

Apple’s promise to create a framework that works on all its platforms doesn’t end here. Using this project, you can create watchOS and tvOS versions of the app while sharing the same code base.

To dive deeper into the expansion of SwiftUI and how Apps, Scenes and Views fit together, start by watching App essentials in SwiftUI from WWDC 2020. This session links to several related videos if you want to keep exploring.

We hope you enjoyed this tutorial. If you have any questions or comments, please join the forum discussion below!