Debugging and problems

Positioning the storyboard on the screen

When the storyboard becomes really small or goes out of view, click on 'View Controller Scene' at the left of the storyboard panel.

When the keypad disappears in the simulator
Press keys: command + k + up arrow

Debugging using the console
To ensure that certain parts run, you can print to console:

print("ABC")

Remember to remove all of these debugging prints during release

Rotate screen in simulator
In simulator, press command and the arrow key

You can't seem to get the main.storyboard in the main screen:
At the top, choose main.storyboard



Comments

Popular posts from this blog

Setting up a playground

Go to another page