Close ad

Apple surprised almost the entire hall in San Jose when it announced the new SwiftUI Framework. It makes it very easy for developers to write user interface applications for all platforms in the ecosystem.

The new Framework is entirely built from the ground up on the modern Swift programming language and uses the declarative paradigm. Thanks to them, developers no longer have to write many tens of lines of code even for simple views, but can do with much less.

But the novelties of the framework certainly do not end there. SwiftUI brings real-time programming. In other words, you always have a live view of your application as you write code. You can also use real-time builds directly on the connected device, where Xcode will send individual builds of the application. So you don't only have to test virtually, but also physically directly on the device.

SwiftUI easy, automatic and modern

In addition, the Declarative Framework makes many platform-specific features available automatically, such as Dark Mode, using individual libraries and keywords. You don't need to define it in any lengthy way, as SwiftUI will take care of it in the background.

In addition, the demo showed that drag & drop of individual elements to the canvas can be used to a great extent during programming, while Xcode completes the code itself. This can not only speed up writing, but also help many beginners to understand the subject. And definitely faster than with the original procedures and learning the Objective-C programming language.

SwiftUI is available for writing modern user interface of all newly introduced versions of operating systems from iOS, tvOS, watchOS after macOS.

swiftui-framework
SwiftUI
.