Developer(s) | Apple Inc. |
---|---|
Initial release | June 3, 2019 |
Operating system | iOS, iPadOS, macOS, tvOS, watchOS, visionOS |
Type | Software framework |
License | Proprietary |
SwiftUI is a graphical application framework for building user interfaces for iOS, iPadOS, watchOS, tvOS, visionOS and macOS, developed by Apple Inc. for the Swift programming language. It was announced at the company's Worldwide Developers Conference (WWDC) on June 3, 2019.
SwiftUI is declarative, contrasting with the imperative syntax used in other Apple development frameworks such as UIKit and AppKit. SwiftUI allows for interoperability with other UIKit views, 2D drawing, animations, event handling, widgets, and data binding. SwiftUI automatically synchronizes between UI views and data.[1]
SwiftUI integrates with other Apple services, such as Xcode to provide for real-time previews during editing,[2] and support for maps with Apple Maps[3].
References
- ↑ "SwiftUI". Apple Developer Documentation. Retrieved 2024-01-10.
- ↑ "Previews in Xcode". Previews in Xcode – Apple Developer Documentation. Archived from the original on 2023-11-07. Retrieved 2023-11-07.
- ↑ "MapKit for SwiftUI". Apple Developer Documentation. Retrieved 2024-01-10.
External links
Further reading
- Lee, Wei-Meng (2020). SwiftUI for dummies. Hoboken: Wiley. ISBN 978-1-119-65270-0.
- Cahill, Bear (2021). UI Design for iOS App Development. doi:10.1007/978-1-4842-6449-2. ISBN 978-1-4842-6448-5. S2CID 229306131.
- Barker, Chris (2020-04-03). Learn SwiftUI: An introductory guide to creating intuitive cross-platform user interfaces using Swift 5. Packt Publishing Ltd. ISBN 978-1-83921-087-7.