Sitemap
techtron

Machines are learning… Are you ?

Member-only story

Understanding SwiftUI in depth

5 min readJun 5, 2019

--

Press enter or click to view image in full size

SwiftUI is a new Toolkit introduced by Apple in WWDC 2019. As per Apple description:-
SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. Build user interfaces for any Apple device using just one set of tools and APIs.

Today we are gonna understand

  • What is SwiftUI?
  • Why is it needed?
  • Finally, understand a sample code written in SwiftUI

So without delay let’s start our deep-dive into SwiftUI.

What is SwiftUI?

SwiftUI is a toolkit provided by Apple to build a user interface such as Custom Controls, Animations, Effects programmatically in a simple, declarative way. This help to reduce developer time to implement and makes it more readable hence easy to understand by anyone.

Why do we need it?

So why do we need to learn a new toolkit provided by Apple? What is so special about it? Let’s try to understand these problems now.

As a developer in the Apple platform, I believe we do need to write UI code programmatically now and then. This task is unavoidable yet so unpleasant. SwiftUI toolkit tries to solve all these problems by…

--

--

Balraj Singh
Balraj Singh

Written by Balraj Singh

Software Engineer, Blogger, Tea Lover and Learner