The story of : Easy SwiftUI

Alberto Panzera
Apr 9, 2020 · 3 min read

Hi, my name is Alberto, I’m a student of the Apple Developer Academy, with this article I want to share my latest experience as a developer.

On March 17, a new nano challenge was announced, the intent of which was to choose and deepen a specific topic on the world of app development.

The topics, such as back-end, game design, user experience, were all very interesting … but in the end I opted for my field, that is, the Front-end.

Once I choose the topic, there were various paths to choose from, but I didn’t think twice and I finally decided to convert everything I had learned about swift with UIKit to swiftUI.

SwiftUI was announced at WWDC in 2019 and is the new apple framework for the development of apps on one’s own device: for a developer, it is very important to update because, just as it happened with Objective-C, gradually swift and UIKit will step aside to give total space to SwiftUI.

The first day I went into total confusion, oh no! Everything was different! It seemed like a totally new thing, with little or nothing online about it.

I stopped and took a long pause,Tv series, and a little sleep.. then it all started to become clear in my mind.

It is difficult to solve a serious problem, but if this is divided into many small sub-problems, everything becomes simpler!

I opened a note on my mac and made a list of all the UIKit elements that I had learned to program, and individually, starting from the first one, I searched the web for practical examples that would make me understand the operation and development in swiftUI.

For each element I developed a dedicated mini-app on which I did all the tests that came to my mind, and only after being satisfied with it, I moved on to the next element.

RESULT? After a week I found myself with a folder full of projects, each project had the name of a UIKit element, but inside the code was SwiftUI :)

What can I say at the end of this path … if at the beginning it seemed difficult to program in swiftui, now that it is all clear, if I had to develop an app from scratch, I wouldn’t think twice about choosing it as the main language.

I am very pragmatic, I have never in my life read a programming book from beginning to end. I have always preferred to learn theory from practice by analyzing lines of code already done and by testing the compiler. Doing this with swiftui has been more difficult because it is a new language and little material is available online.

Easy SwiftUI

That’s why I decided to write a manual on SwiftUI, for all developers like me, with the bare minimum of theory but many many examples in code from which to take inspiration!

and you can find it at this link

Enjoy!

Apple Developer Academy | Federico II

The Apple Developer Academy is a partnership between the…

Apple Developer Academy | Federico II

The Apple Developer Academy is a partnership between the University of Napoli Federico II and Apple. https://www.developeracademy.unina.it

Alberto Panzera

Written by

my passion is computer science since I was a child. I’m mainly a programmer of apps and websites, but I also like to try my hand at Graphic Design.

Apple Developer Academy | Federico II

The Apple Developer Academy is a partnership between the University of Napoli Federico II and Apple. https://www.developeracademy.unina.it