-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

iOS 17 Programming for Beginners
By :

Xcode is Apple’s IDE for developing macOS, iOS, iPadOS, watchOS, tvOS, and visionOS apps. You’ll need to download and install Xcode prior to writing your first app. Follow these steps:
Xcode
and press the Return key.Figure 1.1: Apple ID creation dialog box
You can see more information on how to create an Apple ID using this link: https://support.apple.com/en-us/HT204316#appstore.
Figure 1.2: License agreement screen
username
and password
. Once you have done so, click OK:Figure 1.3: Prompt for administrator username and password
Figure 1.4: Development platforms screen
Figure 1.5: Rosetta prompt
Figure 1.6: What’s New in Xcode screen
Figure 1.7: Welcome to Xcode screen
Figure 1.8: Simulator download progress bar
Figure 1.10: Choose options for your new project: screen
Configure the options as follows:
JRNL
in the text field.com.myname
for now. This is known as reverse domain name notation format and is commonly used by iOS developers.Leave the other settings at their default values. Click on Next when done.
Figure 1.11: Save dialog box
The reason why you see this dialog box is because the Source Control checkbox in the Save dialog box was ticked. Apple recommends that Source Control be turned on. Source Control is outside the scope of this book but if you wish to learn more about version control and Git, see this link: https://git-scm.com/video/what-is-version-control.
Figure 1.12: Source Control preference screen
Enter the following information:
Close the Source Control screen by clicking the close button in the top-left corner when done. The Xcode main window will appear.
Fantastic! You have now successfully downloaded and installed Xcode and created your first project. In the next section, you will learn about the Xcode user interface.