At WWDC today, Apple announced a new Swift UI framework that allows developers to build their app interfaces using much less code.
"The new app development technologies unveiled today make app development faster, easier and more fun for developers, and represent the future of app creation across all Apple platforms," said Craig Federighi, Apple’s senior vice president of Software Engineering. "SwiftUI truly transforms user interface creation by automating large portions of the process and providing real-time previews of how UI code looks and behaves in-app. We think developers are going to love it."
Using SwiftUI's easy-to-understand declarative code, developers can create full-featured user interfaces complete with smooth animations.
SwiftUI should also save developers time by providing several automatic functions including interface layout, Dark Mode, Accessibility, right-to-left language support and internationalization.
In addition, a new graphical UI design tool built into Xcode 11 makes it easier for UI designers to quickly assemble a user interface with SwiftUI without having to write any code. Swift code is automatically generated and when this code is modified, the changes to the UI instantly appear in the visual design tool, allowing developers to see automatic, real-time previews of how the UI will look and behave as they refine and test their code.
The new Swift API is universal, meaning it can be used to build app UIs for Apple Watch, Apple TV, Mac, iPad, iPhone, and Apple Watch.
Top Rated Comments
This is absolutely incredible.
I’m actually proud to be an Apple fan today, and I never thought I’d say those words again!
gd one of the most painful parts of the SDK was view-controller interactions.