Getting Started with iOS and SwiftUI
By: Luis A. Sierra
Creating the Hello World iOS App Project![]()
Hello, World! It is the first basic program in any programming language. Let's write the first program in the iOS with Swift programming language.
To create and run a hello world program follow the following steps:
Step 1: Open XCode in your system and Create a new XCode project.
Step 4: Select the project location and then click on the create button. Now the project is created.
Step 5: Now open ContentView.swift file in the project navigator.
So, your structure should be this: 👇👇👇
Step 6: Now go to View -> Show Library in the xcode menu.
Step 7: Now add the code below and set a font-size and Choose a color.
Step 9: Now wait to the simulator started

Post a Comment