Follow this SwiftUI tutorial:
Creating and Combining Views | Apple Developer Documentation
Overall, easy to follow. However, this class has us using Xcode 15 Beta, which runs ios17, and seems to have an error/change of how they pull map data.