'Xcode unable to find enum in scope
I have an enum in my project called Theme. It is in a file called Theme.swift in App > shared. I then have a SwiftUI view called ThemeView in ThemeSettingsView.swift located in App > Shared > Settings. However whenever I try to declare a variable as var theme: Theme I get an error saying "Cannot find Theme in scope."
Any recommendations on how to fix. Do I have the files located in the wrong areas?
Solution 1:[1]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | stoikokolev |

