SwiftUI is Apple's declarative UI framework: you describe what the UI should look like for a given state, and the framework figures out how to render and update it. You no longer manually mutate views like in UIKit — you change state and the UI re-renders automatically.
How it works
A view conforms to the protocol and returns its content from a computed property. is a pure function of the view's properties.
