Creating a New iOS Project

Xcode is a large application that serves several purposes for software developers.

Many different types of projects can be created for different Apple platforms.

This short tutorial will show you how to create a project that runs on iOS.

Create the project

To create a playground, make sure that Xcode is in the foreground on your computer by clicking it's icon in the Dock:

Pasted image 20231021072302.png|100

From the menu bar at top left, choose File > New > Project...:

Screenshot 2023-10-23 at 6.11.30 AM.png|400

You will see the following window – here, choose the iOS tab, then App, and then Next:

Screenshot 2023-10-30 at 10.32.28 AM.png|700

On the following screen, give your project:

  1. a descriptive name, based on what idea you are exploring
  2. select your team
    • NOTE: Log in with the Apple ID tied to your LCS email address, if necessary.
  3. provide an organization identifier
    • NOTE: If your name is Stephanie Laroux, use ca.stephanielaroux
  4. interface should be SwiftUI
  5. language should be Swift
  6. storage should be None
  7. no checkmark beside Include Tests

Screenshot 2023-10-27 at 7.29.05 AM.png|700

On the following screen, choose where to save your project – be sure that source control is enabled:

Screenshot 2023-10-30 at 10.34.25 AM.png

Begin coding

You will see the following when your project first opens:

Screenshot 2023-10-30 at 10.37.42 AM.png|700

Note

It may take some time for the preview to load at first.

After the phone simulator loads, the preview window will update quickly.