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 Rumored Colors

What's Coming in September: New iPhones, Apple Watches and More

Thursday August 13, 2026 4:20 pm PDT by
Apple will introduce at least five new devices at its iPhone-centric event next month, and it's also possible we'll get devices waiting on Siri AI like the Apple TV. iPhone 18 Pro The iPhone 18 Pro is going to look like the iPhone 17 Pro, but with a smaller Dynamic Island. It's getting some internal updates, including a new Wide camera with a variable aperture for more control over lighting ...
Everything New Your iPhone Can Do on iOS 27 Feature 1

30 New Things Your iPhone Can Do in iOS 27

Friday August 14, 2026 6:24 am PDT by
Apple will release iOS 27 in September, and despite the company's focus this year on refining its flagship operating system and nixing bugs, there are still many additional features on the way, not least of which is Apple's new context-aware Siri, re-tooled for the generative AI era. This year's major iPhone software update isn't all about AI, though, as the following feature list...
iPhone 17 One Year Later Thumb 1

Should You Buy an iPhone 17 Now or Wait for iPhone 18?

Friday August 14, 2026 12:15 pm PDT by
For the first time since Apple started selling standard and "Pro" iPhones, we're not going to get an entry-level iPhone model this fall. Apple doesn't plan to release an iPhone 18 in September, and will only launch the iPhone 18 Pro, iPhone 18 Pro Max, and foldable iPhone Ultra. The lower-cost iPhone 18 won't come out until spring 2027. Subscribe to the MacRumors YouTube channel for more ...