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

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

apple pro tell logo

Apple Launches Two Products Today

Friday November 13, 2026 2:37 am PST by
Apple is releasing two new products today, Friday, November 13: the all-new Apple HomeView and the fourth-generation Apple TV 4K, both of which have been available to pre-order since mid-October. Apple HomeView: Apple's new smart home display, powered by Apple Intelligence with Siri AI, for entertainment and managing the home. Available in tabletop and wall-mounted models, it can recognize up...
imac video apple feature

November 20 to Mark the End of an Era at Apple

Wednesday November 11, 2026 7:51 am PST by
Apple has announced that the long-running Apple Support Community discussion forums for user-to-user tech support will be permanently closing on Friday, November 20. The forums have existed in some form for nearly 30 years, so it is the end of an era. Effective immediately, the Apple Support Community forums are in a read-only state, with new posts no longer being accepted. The final message ...
johny srouji

Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang

Thursday November 12, 2026 4:29 am PST by
Apple's chief hardware officer Johny Srouji is being considered as a potential successor to Nvidia CEO Jensen Huang as the chipmaker's board prepares to remove its co-founder, according to Semafor. Citing a person familiar with the matter, the publication identified Srouji as one of the people under consideration for Nvidia's top job. It is unclear if Srouji has yet been approached or...
Latest Stories
Apple Black Friday Starts Early: Save on Apple Watch, MacBook Air, and More
Apple Black Friday Starts Early: Save on Apple Watch, MacBook Air, and More
6 hours ago
Top Stories: Apple's New Software Approach, iPhone Duo-Optimized Apps, and More
Top Stories: Apple's New Software Approach, iPhone Duo-Optimized Apps, and More
8 hours ago
HomeView Tidbits: Mirror, Sleep Timer, and Other Details
HomeView Tidbits: Mirror, Sleep Timer, and Other Details
23 hours ago
Siri AI Still Not Enabled on HomePod Mini 2 With Latest Software Update
Siri AI Still Not Enabled on HomePod Mini 2 With Latest Software Update
1 day ago
Apple Releases tvOS 27.2.1 With Siri AI for Older Apple TVs
Apple Releases tvOS 27.2.1 With Siri AI for Older Apple TVs
1 day ago
Microsoft 365 Outage Resolving After Nearly 24 Hours
Microsoft 365 Outage Resolving After Nearly 24 Hours
1 day ago
iPhone Duo Survives 450,000 Folds, but Hinge is Weakening
iPhone Duo Survives 450,000 Folds, but Hinge is Weakening
1 day ago
Apple TV 4K Launch Day Deal Arrives at Amazon
Apple TV 4K Launch Day Deal Arrives at Amazon
1 day ago
The MacRumors Show: HomeView and Apple TV 4K First Impressions
The MacRumors Show: HomeView and Apple TV 4K First Impressions
1 day ago
YouTube App Not Working on Your New Apple TV? Here's the Fix
YouTube App Not Working on Your New Apple TV? Here's the Fix
1 day ago
Apple Meets Thai Officials Over iPhone Spyware Warnings
Apple Meets Thai Officials Over iPhone Spyware Warnings
1 day ago
Apple Shares HomeView 27.2 Release Notes With List of Features
Apple Shares HomeView 27.2 Release Notes With List of Features
1 day ago
HomeView in Québec: Apple Says Canadian French Support to Arrive in Software Update
HomeView in Québec: Apple Says Canadian French Support to Arrive in Software Update
1 day ago
Apple Watch Ultra 3 Gets Big $250 Discounts Ahead of Black Friday
Apple Watch Ultra 3 Gets Big $250 Discounts Ahead of Black Friday
1 day ago
Apple Says HomeView Sets New Record in Design-Focused Interview
Apple Says HomeView Sets New Record in Design-Focused Interview
1 day ago
Best Apple Deals of the Week: AirTag 2 Hits Record Low Price, Plus Early Black Friday Sales
Best Apple Deals of the Week: AirTag 2 Hits Record Low Price, Plus Early Black Friday Sales
1 day ago
iPhone 18 and 18e Coming in Spring 2027 With A20 Chip
iPhone 18 and 18e Coming in Spring 2027 With A20 Chip
1 day ago
King Charles to Join Elton John's Apple Music Radio Show
King Charles to Join Elton John's Apple Music Radio Show
1 day ago
Select 'Apple Home Collection' Accessories Now Available to Order
Select 'Apple Home Collection' Accessories Now Available to Order
1 day ago
Major Microsoft 365 Outage Continues
Major Microsoft 365 Outage Continues
1 day ago
Apple Launches Two Products Today
Apple Launches Two Products Today
1 day ago
Hands-On With the New Apple TV 4K and Siri AI
Hands-On With the New Apple TV 4K and Siri AI
2 days ago
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
2 days ago
HomeView Launch Kicks Off as First Orders Reach Customers
HomeView Launch Kicks Off as First Orders Reach Customers
2 days ago
Apple Continues to Move Up iPhone Duo Delivery Dates
Apple Continues to Move Up iPhone Duo Delivery Dates
2 days ago
Apple Explains How HomeView Keeps Camera Data Private
Apple Explains How HomeView Keeps Camera Data Private
2 days ago
Apple Releases Updated HomeView Software 27.2 Before Launch
Apple Releases Updated HomeView Software 27.2 Before Launch
2 days ago
Apple Adds Samsung Foldables to Trade-In Program
Apple Adds Samsung Foldables to Trade-In Program
2 days ago
Apple Sports App Now Features UFC
Apple Sports App Now Features UFC
2 days ago
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
2 days ago