How to make a graphical user interface with swiftui in macOS?

Good afternoon, I want to write an app for macOS from XCode with SwiftUI in which a user enters personal data (name, surname, address, country, etc). I am a novice in this system and I am doing a swiftui development course. However, all the courses I have seen that focus on iOS for iPhone, but none talks about how to create a graphical user interface in macOS.
Does anyone have documentation? Any advice or help or a place to read about it?
Thank you.
Hi, the magic of SwiftUI is that the same code for a view on the iPhone will most likely work just fine on macOS.
I would recommend to start by checking out the Form view: https://developer.apple.com/documentation/swiftui/form
How to make a graphical user interface with swiftui in macOS?
 
 
Q