Hello World iOS13 with Xcode11

Yan
2 min readNov 8, 2019

As a backend engineer, often I feel learning UI/UX is difficult. The concepts and workflows are different, especially when searching online, I could not make sense what are people talking about without a picture and samples.

This is a note to myself: how to initialize an empty app on Xcode11 for iOS13.

Step 1. Start Xcode and create a new project, via File -> New -> Project… (or Command+Shift+N from keyboard)

Step 2. Select Single View App, then Next.

What about other templates? The templates are auto code generators to save some initial typings. All the functionalities of the templates may be added later manually by the programmer (me). There is no magic, just code.

Step 3. Setup the Product Name. The product name can not be changed once set, at least not easily. So pick a good one and stick to it. Then click Next.

There are some overhead to setup too, such as the fields of Team, Organization Name, Organization Identifier, which are left to the readers as an exercise.

For Language field, we use the default Swift. The other option is Objective-C, which is considered deprecated (too old).

For User Interface, we use the default Storyboard. The other option is Swift UI, which is considered beta (too new).

Step 4. Choose the desired folder, and click Create.

Feel free to check Source Control if you know how to use git.

Step 5. Xcode did create a bunch files for us, and the project is ready to Run.

Step 6. Voila!

Source code: https://github.com/runtimee/proto3/tree/de484a19/ios13/fairyland

Q.E.D.

Originally published at http://runtimee.wordpress.com on November 8, 2019.

--

--