Ok, first download Xcode.
Open it.
Command— shift — n
You probably don’t have to worry about the organization id, name etc. The automatically provided values will probably be just fine.
YOU DO want to make sure the Language is Swift
. Objective C
is an ugly language. Swift
was created for iOS
but more projects are using it such as Perfect
which is a backend service written in Swift
.
You’ll see something like this.
You can run your blank app right away by clicking the Play button!
Xcode is going to open a separate program called Simulator which will present a simulation of your app on your desktop.
Now lets add a label. First click on Main.storyboard.
You should see something like this.
Now search for a label in the bottom of the attributes inspector
which is the panel on the right hand side.
Search for Label.
Then drag it on to your view controller.
You can change the text of the label. Double click on it. Then simply type the new text.
Then click Return
when you’re done.
Now run your app.