Post

Replies

Boosts

Views

Activity

Source Folder's files can't access each other
Hi As I'm working on my submission, I realized that the .swift files in the Sources Folder of my Xcode Playground can't access each other. I made all the classes public, and the Contents.swift file can access each of them fine, but the ViewControllers within the Sources Folder keep saying "Cannot Find "ViewController" in scope". The main reason I want to access the other files to to move from one ViewController to another. I am creating a NavigationController in my Contents.swift page, which is used to go to the InitialViewController (which is in the Sources Folder). If there are any other ways to move between view controllers, I would really appreciate it if you could help me out. Thanks!
2
0
1.3k
Apr ’21