New answers tagged


Well you create your game in GameScene that is already linked to your GameViewController when you create a new project. If you need a Main Menu Then you need to create another UIViewController in the MainStroyBoard and a swift class in the project. Then you will have to link that class and UIViewController by clicking on the UIViewController and in ...


The compiler isn't smart enough to figure out that Status != EGuessStatus::OK is always true. So it assumes that it might be true or false - and if it's false, then the computer would get to the end of the function without returning anything, which is what that warning is trying to tell you. One solution would be to change the condition to while(true).

Top 50 recent answers are included