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

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

MacBook Neo 2 on Yellow Feature

Apple Reportedly Plans to Release These Products in February or March

Sunday November 22, 2026 7:32 am PST by
Apple plans to unveil an iPhone 18e, iPhone 18, updated entry-level iPad, and new MacBook Neo and MacBook Air models around February or March next year, according to the latest word from Bloomberg's Mark Gurman. In his Power On newsletter today, Gurman said Apple has some additional products planned for the first half of 2027, including the iPhone Air 2 and new iPad Air and iPad Pro models,...
apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...
Black Friday Deals 26 4

Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More

Saturday November 21, 2026 9:17 am PST by
Black Friday is almost here, taking place on Friday, November 27 in 2026. As always, this will be the best time of the year to shop for great deals, including popular Apple products like AirPods, iPad, Apple Watch, and more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site ...
Latest Stories
OpenAI Brings GPT-6.2 Sol to ChatGPT's Chat Tab
OpenAI Brings GPT-6.2 Sol to ChatGPT's Chat Tab
28 minutes ago
Google Search Gets Wallet Access, With Drive Coming Soon
Google Search Gets Wallet Access, With Drive Coming Soon
2 hours ago
Apple Store With All-New Design Opening in UK Next Month
Apple Store With All-New Design Opening in UK Next Month
3 hours ago
Apple Announces 'Ted Lasso' Renewed for Fifth Season
Apple Announces 'Ted Lasso' Renewed for Fifth Season
4 hours ago
MacBook Neo Sees Record Low $599 Price in Latest Black Friday Sale ($100 Off) [Update: Gone]
MacBook Neo Sees Record Low $599 Price in Latest Black Friday Sale ($100 Off) [Update: Gone]
4 hours ago
Grab an AirTag 2 for Just $18 at Best Buy and Amazon
Grab an AirTag 2 for Just $18 at Best Buy and Amazon
4 hours ago
Apple Bringing Back (PRODUCT)RED With Red HomePod Mini 2 and AirPods Max 2
Apple Bringing Back (PRODUCT)RED With Red HomePod Mini 2 and AirPods Max 2
5 hours ago
Best Black Friday Streaming Deals on Apple TV, Peacock, HBO Max, and More
Best Black Friday Streaming Deals on Apple TV, Peacock, HBO Max, and More
5 hours ago
Threads is Getting an iPad App
Threads is Getting an iPad App
5 hours ago
Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor
Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor
7 hours ago
A Decade Later, Apple Remains Berkshire's Biggest Stock Bet
A Decade Later, Apple Remains Berkshire's Biggest Stock Bet
7 hours ago
Black Friday Video Game Deals Include Rare Sale on Nintendo Switch 2 Mario Kart World Bundle
Black Friday Video Game Deals Include Rare Sale on Nintendo Switch 2 Mario Kart World Bundle
8 hours ago
M5 MacBook Air Now Starts at $989.10 for Black Friday, Get Up to $310 Off
M5 MacBook Air Now Starts at $989.10 for Black Friday, Get Up to $310 Off
8 hours ago
Apple Wallet Driver's License Feature Coming to Connecticut
Apple Wallet Driver's License Feature Coming to Connecticut
9 hours ago
Coalition of 55,000 EU Businesses Challenges Apple
Coalition of 55,000 EU Businesses Challenges Apple
9 hours ago
Apple Watch Series 12 Drops to $299 on Amazon
Apple Watch Series 12 Drops to $299 on Amazon
9 hours ago
Apple May Be Stuck With Samsung for iPhone Duo Screens
Apple May Be Stuck With Samsung for iPhone Duo Screens
10 hours ago
Jensen Huang Reinstated as Nvidia CEO
Jensen Huang Reinstated as Nvidia CEO
10 hours ago
iPhone Air 2 May Not Feature Smaller Dynamic Island
iPhone Air 2 May Not Feature Smaller Dynamic Island
11 hours ago
iPad Mini 8 Gets First Major Discount for Black Friday at $100 Off
iPad Mini 8 Gets First Major Discount for Black Friday at $100 Off
11 hours ago
AirPods Pro 3 Plunge to $149 for Black Friday ($100 Off)
AirPods Pro 3 Plunge to $149 for Black Friday ($100 Off)
11 hours ago
Apple Explores Using Light to Move Data Between Server Chips
Apple Explores Using Light to Move Data Between Server Chips
12 hours ago
iPhone Sales Ban in India Sought by Startup Over NameDrop Feature
iPhone Sales Ban in India Sought by Startup Over NameDrop Feature
13 hours ago
MacBook Neo Could Get New Colors and Upgrades Every Year
MacBook Neo Could Get New Colors and Upgrades Every Year
13 hours ago
AirPods Pro 3 Drop to $169.99 in Amazon Black Friday Sale
AirPods Pro 3 Drop to $169.99 in Amazon Black Friday Sale
1 day ago
iPhone Duo Could Get More Lock Screen Widgets, Leak Suggests
iPhone Duo Could Get More Lock Screen Widgets, Leak Suggests
1 day ago
Gurman: Siri Layoffs Spared Newer AI Systems, But Problems Persist
Gurman: Siri Layoffs Spared Newer AI Systems, But Problems Persist
1 day ago
M6 MacBook Pro Drops to $1,799 in New Black Friday Sale ($200 Off)
M6 MacBook Pro Drops to $1,799 in New Black Friday Sale ($200 Off)
1 day ago
Apple Reportedly Plans to Release These Products in February or March
Apple Reportedly Plans to Release These Products in February or March
1 day ago
Apple Watch SE 3 Lineup Sees Record Low Prices Starting at Just $179
Apple Watch SE 3 Lineup Sees Record Low Prices Starting at Just $179
1 day ago