SwiftUI is Apple’s brand new framework for building user interfaces for iOS, tvOS, macOS, and watchOS . Apple introduced SwiftUI in 2019 and the framework has been evolving at a rapid pace ever since. Unlike UIKit and AppKit, SwiftUI is a cross-platform framework.