Apple Unveils New SwiftUI Framework For Building App Interfaces Using Less Code - MacRumors
Skip to Content

Apple Unveils New SwiftUI Framework For Building App Interfaces Using Less Code

by

At WWDC today, Apple announced a new Swift UI framework that allows developers to build their app interfaces using much less code.

Apple dev tools swift UI screen 06032019

"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

95 months ago
They’ve actually built a WYSIWYG editor for swift code. A WYSIWYG editor for creating actual apps. I mean holy **** this is the groundbreaking stuff Apple used to be known for.

This is absolutely incredible.

I’m actually proud to be an Apple fan today, and I never thought I’d say those words again!
Score: 10 Votes (Like | Disagree)
95 months ago
This is huge. The room had so much energy when this was shown in a demo
Score: 6 Votes (Like | Disagree)
95 months ago
Science Rules!
Score: 5 Votes (Like | Disagree)
MisterSavage Avatar
95 months ago
I actually like digging around in code but getting interfaces to interact properly with auto layout has been something I struggle with. I'm interested to start playing around with this.
Score: 2 Votes (Like | Disagree)
Gorms Avatar
95 months ago
I, for one, am into this.
Score: 1 Votes (Like | Disagree)
Mascots Avatar
95 months ago
Glad to see they're finally addressing the lack of Cocoa Bindings on iOS...

gd one of the most painful parts of the SDK was view-controller interactions.
Score: 1 Votes (Like | Disagree)

Popular Stories

iphone duo

Apple Announces Foldable 'iPhone Duo'

Wednesday September 9, 2026 10:56 am PDT by
Apple today announced the "iPhone Duo," a new kind of iPhone featuring two screens and a foldable inner display. The two halves of the iPhone Duo connect into a single continuous frame with the same aspect ratio across both displays, and Apple said the transition between open and closed is designed to feel fluid. When fully open, Apple says it is the thinnest iPhone ever made, with an...
Surprise and Shine Live Coverage Article

Apple Event Live Blog: iPhone Duo, iPhone 18 Pro, and More

Wednesday September 9, 2026 9:10 am PDT by
Apple's "Surprise and Shine" event kicks off today at 10:00 a.m. Pacific Time, where we're expecting to see the foldable iPhone Duo, the iPhone 18 Pro and Pro Max, Apple Watch Series 12 and Ultra 4 models, new AirPods 5 earphones, and perhaps some other announcements. Apple is providing a live video stream on its website, on YouTube, and in the company's TV app across various platforms. We...
iOS 27 Feature Dark

Apple Announces iOS 27 Release Date

Wednesday September 9, 2026 10:46 am PDT by
At its event today unveiling the iPhone 18 Pro, AirPods 5, Apple Watch Series 12, and more, Apple announced that iOS 27 will be released later this month. iOS 27 has already been available as a developer beta since June and as a public beta since July, and Apple today said that the update will be released for all users with a compatible iPhone model on Monday, September 14. iOS 27 is...