I am trying to make a global variable and i saw singletons are the "global variables" and so i tried to create a singleton but i get an error that says "singleton can't assign a new value to a constant"
Have you ever encounter this problem? What could be the solution to this?