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

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)
97 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

Apple 2026 Black Friday Event Hero

Apple Announces 2026 Black Friday Event, Here's What You Can Get

Thursday November 19, 2026 9:11 am PST by
Apple's annual four-day Black Friday through Cyber Monday shopping event is returning on Friday, November 27 through Monday, November 30 in many countries, including the United States, Canada, Australia, New Zealand, France, Germany, Italy, Spain, the United Kingdom, Belgium, the Netherlands, Sweden, Thailand, and others. In the U.S., Apple's terms and conditions say the promotion begins on...
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 -...
bug security vulnerability issue fix larry

iPhone Users Targeted in Major Website Security Breach

Tuesday November 17, 2026 4:41 am PST by
Hackers used some of the world's most popular websites to distribute malware designed to steal cryptocurrency and exploit vulnerabilities in iPhones and iPads this week, according to a new security investigation. Reuters reports that websites associated with 178 organizations were affected by the attack on Monday, November 16, including the likes of Zoom, BBC, CNN, HSBC, Salesforce, and...
Latest Stories
Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More
Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More
27 minutes ago
Siri Recap Hands-On: Private, But Not Very Useful
Siri Recap Hands-On: Private, But Not Very Useful
2 hours ago
Save on Headphones This Black Friday With Major Deals on Beats, Sony, Soundcore, and More
Save on Headphones This Black Friday With Major Deals on Beats, Sony, Soundcore, and More
4 hours ago
MacRumors Giveaway: Win a 512GB OLED iPad Mini and a Year of Astropad Workbench
MacRumors Giveaway: Win a 512GB OLED iPad Mini and a Year of Astropad Workbench
5 hours ago
The MacRumors Show: What's Next for iPhone Duo?
The MacRumors Show: What's Next for iPhone Duo?
6 hours ago
Anker's Black Friday Steals: The Lowest Prices Yet on MagSafe Favorites
Anker's Black Friday Steals: The Lowest Prices Yet on MagSafe Favorites
7 hours ago
Microsoft to Retire 'To Do' Apps Next Year
Microsoft to Retire 'To Do' Apps Next Year
7 hours ago
First Look at iPhone Air 2 and iPhone 18 Revealed By Dummy Models
First Look at iPhone Air 2 and iPhone 18 Revealed By Dummy Models
10 hours ago
WhatsApp Raises Group Chat Limit to 1,500 Members
WhatsApp Raises Group Chat Limit to 1,500 Members
11 hours ago
MacBook Pro Black Friday Deals Are Here: Get Up to $250 Off M6 and PROLED XDR
MacBook Pro Black Friday Deals Are Here: Get Up to $250 Off M6 and PROLED XDR
1 day ago
Apple is Building an AI Agent That Can Use Apps and Code
Apple is Building an AI Agent That Can Use Apps and Code
1 day ago
Black Friday Deal: Apple TV Streaming Service for $6.99/Month
Black Friday Deal: Apple TV Streaming Service for $6.99/Month
1 day ago
AirPods Black Friday Deals Hit Pro 3 at $179 and Max 2 at $429
AirPods Black Friday Deals Hit Pro 3 at $179 and Max 2 at $429
1 day ago
Second iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
Second iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
1 day ago
Google's Gemini Can Now Control Apps on Your Mac
Google's Gemini Can Now Control Apps on Your Mac
1 day ago
iPhone Duo vs. Samsung Galaxy Z Fold8: Which is Better?
iPhone Duo vs. Samsung Galaxy Z Fold8: Which is Better?
1 day ago
Apple Executive in Charge of iPhone's Camera App Reportedly Retires
Apple Executive in Charge of iPhone's Camera App Reportedly Retires
1 day ago
Apple Announces 2026 Black Friday Event, Here's What You Can Get
Apple Announces 2026 Black Friday Event, Here's What You Can Get
1 day ago
Sonos Black Friday Sale Takes Up to 25% Off Speakers, Soundbars, and More
Sonos Black Friday Sale Takes Up to 25% Off Speakers, Soundbars, and More
1 day ago
Apple TV to Stream Female 'F1 Academy' Races in U.S. Starting in 2027
Apple TV to Stream Female 'F1 Academy' Races in U.S. Starting in 2027
1 day ago
Tomorrow Marks the End of a 28-Year Era at Apple
Tomorrow Marks the End of a 28-Year Era at Apple
1 day ago
Amazon Takes $200 Off Every Apple Studio Display for Black Friday
Amazon Takes $200 Off Every Apple Studio Display for Black Friday
1 day ago
UK Loses Secrecy Fight Over Apple 'Backdoor' Order
UK Loses Secrecy Fight Over Apple 'Backdoor' Order
1 day ago
Beats 360 Black Friday Deal Arrives With Massive $100 Discount on Amazon
Beats 360 Black Friday Deal Arrives With Massive $100 Discount on Amazon
1 day ago
Apple Music Radio Now Reaches Over 50 Million Monthly Listeners
Apple Music Radio Now Reaches Over 50 Million Monthly Listeners
1 day ago
Future Macs Could Get Brighter, Longer-Lasting OLED Displays in 2030
Future Macs Could Get Brighter, Longer-Lasting OLED Displays in 2030
1 day ago
Apple Faces 'Planned Obsolescence' Trial Over iPhone Repairs
Apple Faces 'Planned Obsolescence' Trial Over iPhone Repairs
1 day ago
Apple May Cancel OLED iMac
Apple May Cancel OLED iMac
2 days ago
Instagram Now Lets You Save Songs to Apple Music
Instagram Now Lets You Save Songs to Apple Music
2 days ago
Apple Releases Safari Technology Preview 257 With Bug Fixes and Performance Improvements
Apple Releases Safari Technology Preview 257 With Bug Fixes and Performance Improvements
2 days ago