SwiftUI is a user interface framework that Apple introduced at WWDC in 2019. It uses a declarative approach: developers describe in Swift code what the screen should show, and the interface updates automatically when the data changes.
A single codebase can produce interfaces for apps on Apple devices running iOS, iPadOS, macOS, watchOS and tvOS, and it works alongside the older UIKit and AppKit frameworks.