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

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

iPhone 18 Pro Launching Next Month With These 12 New Features

Sunday August 9, 2026 1:45 pm PDT by
It is now August, and that means the iPhone 18 Pro and iPhone 18 Pro Max are just a month away. The devices are expected to look similar to the iPhone 17 Pro and iPhone 17 Pro Max, but there will still be many year-over-year changes, with rumored features including a smaller Dynamic Island, 5G via satellite, and more. Apple is expected to unveil the iPhone 18 Pro, iPhone 18 Pro Max, and a...
iPhone 18 Pro Dark Cherry Feature

iPhone 18 Pro Max's Larger Battery Capacity Allegedly Revealed

Monday August 10, 2026 9:37 am PDT by
The upcoming iPhone 18 Pro Max will be equipped with a nearly 12% larger battery compared to the iPhone 17 Pro Max, according to an apparent leak. An alleged photo of a battery pack for a Chinese model of the iPhone 18 Pro Max with a SIM card tray lists a capacity of 5,391 mAh, up from 4,823 mAh for the equivalent iPhone 17 Pro Max battery. The photo was shared on the Korean platform Naver...
iOS 27 Feature Cool

Everything New in iOS 27 Beta 5

Monday August 10, 2026 3:02 pm PDT by
We're a little over a month away from the launch of iOS 27, and Apple is continuing to make changes. The fifth beta of iOS 27 changes the look of some app icons and adjusts Liquid Glass, plus it adds some smaller features that make the iPhone just a little nicer to use. App Icons There are updated Liquid Glass icons for Safari, Siri, Settings, Remote, App Store, and Preview. Some of the...