Connecting wirelessly

Now that you have your phone and account connected it is easy to get your phone set up to run it wirelessly. With your device already connected via USB, go to Window | Devices and Simulators. Click on the Checkbox marked Connect via network:

Make sure that your phone and your computer are connected to the same Wi-Fi network.

When I first connected to my device, I saw a globe icon in Xcode that lets you know that you are connected via the network.

After a short time, the globe went away. Even if you do not see the icon you can disconnect the USB and your device should still be connected to Xcode (as long as you are connected to the same Wi-Fi network).

You will not need to use a device for the majority of this book; however, depending on the type of MacBook you have, you might need to use a device.

Before we get to the right side of the Toolbar, select the Main.storyboard file in your navigator panel. This file is used to do all of your visual setup for your entire app. We will cover this in detail later in the book. After you select the file, you should see the following: