Transcript for:
Xcode Setup and Project Creation

As you progress through this course, you'll have the opportunity to create your own project in the development environment called Xcode. So, let's take a moment to download and install Xcode now and briefly explore project creation. In this video, I'm going to demonstrate how to download and install Xcode on macOS. First, visit the official webpage for Xcode, developer.apple.com forward slash Xcode forward slash. Note that you will need an Apple Developer account to download from the website.

Click the Download button on the top right. To download Xcode from the website, click Website. You can also choose to download Xcode directly from the App Store.

An Apple ID will be needed to download from the Mac App Store. The Downloads page you are taken to after choosing Website has different tools apart from Xcode. However, they are beyond the scope of this video. You will notice that there are different versions of Xcode available.

Currently, the latest version is Xcode 14 Beta. Beta means that this version is still in development. Although you can use this version, I'd recommend that you pick the latest stable version of the Integrated Development Environment, or IDE.

So, to select Xcode 13.4.1, click on View Details. You can then download the Xcode.xip file. This may take some time, depending on your internet speed. Once downloaded, click on the .xip file to extract it. Then you'll be prompted to move Xcode to your applications folder.

Your last step is to open this version from the applications folder and follow any installation instructions that follow. Now that you've downloaded and installed the IDE, let's preview the environment and how to create your own project in Xcode. On the welcome page for Xcode, you have three options. You can create a new Xcode project, You can clone an existing project and you can open an existing project or file. For this video, let's click create a new Xcode project.

In this window, you are presented with different templates for your project. This allows you to get started with projects quickly. Select the app template for iOS and then click next.

On this page, you are required to provide a name for the product you are building. Let's call it hello underscore world. The team option enables you to add any team members to the project, which means developers will be able to collaborate.

You can do this by clicking the add account button. The next fields are the organization and bundle identifiers. These are used to uniquely identify you or your team and your application in the App Store.

After that, you can choose between SwiftUI or Storyboard for your interface. Let's select Storyboard for now. Finally, you can choose between two languages. Swift and Objective-C. Select Swift as this is the language you'll be using throughout this course and click Next.

A window will open in which you can choose the location on your computer to create your new project. An important step here is unchecking the Source Control option as you won't require Source Control at this stage of your learning. Then click Create. The environment for your Hello Underscore World app is displayed. The project pane which gives you access to the project files, is on the left.

In the top bar is a play button. The button is used to run a simulator. This will be important for you when you create your own project later, as it allows you to simulate your app without needing to install it on an actual physical device.

You can click on the button to run the current test project. Another window will open with the simulator. In later videos, you'll learn more about how to configure simulators and how to use them efficiently. With Xcode installed and some insight into project creation, you're ready to jump into iOS app development.