Hello,
I am trying to create a timer that counts down so I can implement it to a app I am creating, here is a demo project:
The error I am facing is that when I change the struct name to something other then ContentView() I get this error:
But if the struct is ContentView() I get no error:
What can I do so I can name the struct something other then ContentView() and not get any errors (Like if I want to name the struct Timer() what should I do)?
Thanks,