SwiftUI is a declarative framework[1] for building user interfaces for iOS, iPadOS, watchOS, tvOS, visionOS and macOS, developed by Apple Inc. for the Swift programming language.
SwiftUI is declarative, contrasting with the imperative syntax used in other Apple development frameworks such as UIKit and AppKit.
[2] SwiftUI integrates with other Apple technologies, such as Xcode and Swift Playgrounds to provide for real-time previews during editing,[3][4] alongside support for debugging and other development features.
SwiftUI allows for interoperability with UIKit and AppKit views via the UIViewRepresentable and NSViewRepresentable protocols respectively.
[5][6] SwiftUI was announced at the company's Worldwide Developers Conference (WWDC) on June 3, 2019, and was added in iOS 13 and macOS Catalina.