After creating a version of the landmarks application for watchos, it’s time to focus on something bigger: bringing landmarks into the Mac. You will build on what you have learned so far to improve your experience in building switchui applications for IOS, watchos and MacOS.
First, add the Mac OS target to the project, and then reuse the shared data created for the IOS app. After you have all the assets, you will create a swiftui view to display the list view and detail view on MacOS.
Follow these steps to build the project, or download the completed project to explore for yourself.
More swiftui tutorials and code focus columns
Swiftui technology exchange QQ group: 518696470
- Please pay attention to my column icloudend, swiftui tutorial and source code