I have the following nested structure:
public struct Session {
public enum Type: Int {
FirstLaunch = 0, NotRegistered, LoggedOut, LoggedIn
}
}
It's very simple, very barebones. However when I try to access FirstLaunch for example, Xcode throws the following error:
'Session.Type.Type' does not have a member named 'FirstLaunch'
Anyone have any idea what's going on?