SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms. You're faster in development and it's easier to separate design and logic.
SwiftUI CheatSheet show all UI elements and the needed source code. Each UI element is presented in one or more variations. You can try the control and check the functionality. Below the example you see the corresponding code to get this result. It's easy, try it!
To allow experienced coders an easier changeover to SwiftUI, all elements from UIKit are assigned to the corresponding SwiftUI elements.