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

92 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)
92 months ago
This is huge. The room had so much energy when this was shown in a demo
Score: 6 Votes (Like | Disagree)
92 months ago
Science Rules!
Score: 5 Votes (Like | Disagree)
MisterSavage Avatar
92 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
92 months ago
I, for one, am into this.
Score: 1 Votes (Like | Disagree)
Mascots Avatar
92 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

macOS 27 on MacBook Pro

Apple Says macOS 27 Won't Be Compatible With These Macs

Wednesday June 3, 2026 8:29 am PDT by
During WWDC 2025, Apple revealed that macOS 26 Tahoe would be the final major macOS version for Intel-based Macs. macOS 27 will be compatible with Apple silicon Macs only, meaning that you will need a Mac with an M-series chip or a MacBook Neo with an A18 Pro chip in order to install the software update. Apple will unveil macOS 27 during its WWDC 2026 keynote this Monday, June 8, and the...
MacBook Neo on Yellow Feature

MacBook Neo is So Popular That Apple Reportedly Doubled Production

Wednesday June 3, 2026 9:24 am PDT by
On an earnings call in late April, Apple's CEO Tim Cook said that customer response to the MacBook Neo was "off the charts," and the popularity of the laptop has reportedly led the company to significantly boost production. Apple supply chain analyst Ming-Chi Kuo this week said he believes that MacBook Neo shipments to Apple were doubled from an initial target of 5 million units to 10...
iphone 18 pro blue%402x

iPhone 18 Pro: Dark Cherry, Light Blue, and Dark Gray Chassis Leaked [Update]

Thursday June 4, 2026 5:18 am PDT by
Update: Since publication, new information has come to light suggesting the images have been AI-manipulated and are not in fact iPhone 18 Pro chassis parts. The original article follows. The color options Apple is reportedly planning for the upcoming iPhone 18 Pro and ‌iPhone 18 Pro‌ Max have appeared online today in the form of images of chassis parts of unknown authenticity....