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

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

Popular Stories

iPhone 16 Pro Sizes Feature

iPhone 16 Series Is Less Than Two Months Away: Everything We Know

Thursday July 25, 2024 5:43 am PDT by
Apple typically releases its new iPhone series around mid-September, which means we are about two months out from the launch of the iPhone 16. Like the iPhone 15 series, this year's lineup is expected to stick with four models – iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max – although there are plenty of design differences and new features to take into account. To bring ...
Apple Intelligence General Feature

Apple Intelligence Now Available in New iOS 18.1, iPadOS 18.1, and macOS Sequoia Developer Betas

Monday July 29, 2024 10:07 am PDT by
Apple is today providing developers with the first betas of iOS 18.1, iPadOS 18.1, and macOS Sequoia 15.1, with the new software introducing an early version of the Apple Intelligence features. These new betas will be in testing alongside the current iOS 18, iPadOS 18, and macOS Sequoia 15 betas. Developers can choose whether to opt into the new betas with Apple Intelligence, or stay on the ...
Apple Intelligence General Feature

Report: Apple Intelligence Delayed to iOS 18.1 in October

Sunday July 28, 2024 11:52 am PDT by
Apple Intelligence will miss its initial expected launch date to give Apple more time to fix bugs, Bloomberg's Mark Gurman reports. According to individuals with knowledge about Apple's plans, the company now plans to start rolling out Apple Intelligence in software updates by October, arriving several weeks after the launch of iOS 18, iPadOS 18, and macOS Sequoia. This means that Apple...
T Mobile Generic Feature Pink 1

T-Mobile Sued for Breaking Lifetime Price Guarantees

Friday July 26, 2024 2:44 pm PDT by
T-Mobile customers have filed a lawsuit [PDF] against the carrier, alleging that it failed to honor a guarantee not to raise the prices of select cellular plans. The lawsuit, first spotted by Wired, claims that back in 2017, T-Mobile advertised several of its plans with a price lock, but then went on to increase prices starting in May 2024. "T-Mobile ONE customers keep their price until...