I'm a beginner to Xcode, swift, and swiftui and I'm following the tutorial here. It says to break files into view model and resource groups. However, when I try to access objects from the model in classes in the view, I get an error saying cannot find type ___ in scope. In java or c# I would add a package or namespace reference. How do I do this is swift?
0
0
359