
SwiftUI Programming: An Introduction
Why SwiftUI marks a break with UIKit and MVC: a declarative framework where the interface is derived from state. Notes that open a series of tutorials.
A step by step introduction to SwiftUI, written when the framework came out. Views, stacks, state, bindings and how SwiftUI talks to UIKit.

Why SwiftUI marks a break with UIKit and MVC: a declarative framework where the interface is derived from state. Notes that open a series of tutorials.

What a View is in SwiftUI: a struct conforming to a protocol with a single body requirement, and how opaque types differ from plain protocols.

Why a class cannot simply replace a struct as a SwiftUI View, what error the compiler gives, and how a final class makes it possible when needed.

How to build a custom table view cell in SwiftUI with VStack, HStack, Image and Spacer, and how the ViewBuilder closure composes views without addSubview.

How @State ties a SwiftUI view to its data, why this beats the UIKit controller approach, and how to extract subviews and pass a model to them.

How to share a class based model between SwiftUI views with @ObjectBinding and BindableObject, using Combine PassthroughSubject to notify changes.

How to work around the TextField limits of iOS 13 beta 2 by wrapping UITextField and its delegate in a UIViewRepresentable, with focus moving between fields.