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

iPhone Duo Outer Display Hand

Apple Aiming to Upgrade the iPhone Duo in Four Ways

Sunday November 15, 2026 8:42 am PST by
Bloomberg's Mark Gurman today said Apple has four goals for future iPhone Duo models: Face ID, an Action button, a telephoto camera, and a thinner-and-lighter design. Gurman said Apple has already developed iPhone Duo 2 prototypes with Face ID on the outer display, but it is "running out of time" to finalize the feature for that model, so it might not arrive until the iPhone Duo...
Apple Health AI Study App Feature

Apple Just Released a New App

Monday November 16, 2026 9:43 am PST by
Apple today launched a new research study in the U.S. to explore the use of AI for health, and it has released a dedicated iPhone app for participants. In a press release, Apple said the study and app are "designed to advance the understanding of how people interact with conversational health AI tools." The Apple Health AI Study App contains a generative AI chatbot that participants can...
iphone duo yellow hand

Apple Adds Facial Unlock Option on iPhone Duo in iOS 27.3

Monday November 16, 2026 10:17 am PST by
Apple today added a new option for unlocking the iPhone Duo using the front-facing camera, giving device users multiple ways to access their content. The feature is available in the second iOS 27.3 beta. The option to unlock with facial recognition is only available on the Lock Screen, and authentication via Touch ID is still needed for Apple Pay purchases, adding passwords and logins, and...
Latest Stories
iFixit Says Apple's HomeView is Unnecessarily Hard to Repair
iFixit Says Apple's HomeView is Unnecessarily Hard to Repair
44 minutes ago
Final Cut Pro Now Includes MotionVFX for Creator Studio Users
Final Cut Pro Now Includes MotionVFX for Creator Studio Users
1 hour ago
Apple Blames Internal Update for Outage, Says It Wasn't a Cyberattack
Apple Blames Internal Update for Outage, Says It Wasn't a Cyberattack
3 hours ago
Nomad Launches Black Friday Sale With Up to 30% Off Apple Accessories
Nomad Launches Black Friday Sale With Up to 30% Off Apple Accessories
4 hours ago
Google Wallet Available on iPhone, But Without Tap to Pay
Google Wallet Available on iPhone, But Without Tap to Pay
4 hours ago
Apple Accounts, App Store and Apple Music Experiencing Issues
Apple Accounts, App Store and Apple Music Experiencing Issues
5 hours ago
Apple Moves Ahead With Better Dual SIM Support for Apps
Apple Moves Ahead With Better Dual SIM Support for Apps
5 hours ago
Former Apple Chairman Plans to Sell $32 Million in Apple Stock
Former Apple Chairman Plans to Sell $32 Million in Apple Stock
6 hours ago
Apple Accused of Silencing iPhone Duo Supplier Over 'Crackgate' Issue
Apple Accused of Silencing iPhone Duo Supplier Over 'Crackgate' Issue
6 hours ago
Apple Store App Now Optimized for iPhone Duo
Apple Store App Now Optimized for iPhone Duo
7 hours ago
Apple Says iCloud+ Plans Will Not Include Increased Siri AI Usage in UK
Apple Says iCloud+ Plans Will Not Include Increased Siri AI Usage in UK
7 hours ago
Amazon Offering Early Black Friday Discounts on TVs, Headphones, and Charging Devices
Amazon Offering Early Black Friday Discounts on TVs, Headphones, and Charging Devices
7 hours ago
Apple Now Sells DIY Repair Parts for iPhone Duo
Apple Now Sells DIY Repair Parts for iPhone Duo
8 hours ago
iPhone 20 Pro Screen Protectors Show Rumored Curved Design
iPhone 20 Pro Screen Protectors Show Rumored Curved Design
8 hours ago
MacBook Neo Black Friday Deals Arrive With $49 Discounts on Nearly Every Model at Amazon
MacBook Neo Black Friday Deals Arrive With $49 Discounts on Nearly Every Model at Amazon
9 hours ago
iPhone Users Targeted in Major Website Security Breach
iPhone Users Targeted in Major Website Security Breach
10 hours ago
Apple Names 'Baby, This Is Keke Palmer' Podcast of the Year
Apple Names 'Baby, This Is Keke Palmer' Podcast of the Year
10 hours ago
Apple Tests Bringing Back a Softer Side of Liquid Glass
Apple Tests Bringing Back a Softer Side of Liquid Glass
11 hours ago
Apple Close to Rare Long-Term Memory Deal With Samsung
Apple Close to Rare Long-Term Memory Deal With Samsung
12 hours ago
Everything New in iOS 27.3 Beta 2
Everything New in iOS 27.3 Beta 2
22 hours ago
Apple Plans to Release These 18 New Products Next Year
Apple Plans to Release These 18 New Products Next Year
1 day ago
New Apple TV 4K Discount Returns at Amazon
New Apple TV 4K Discount Returns at Amazon
1 day ago
iPhone Duo Orders Will Now Arrive Before the Holidays
iPhone Duo Orders Will Now Arrive Before the Holidays
1 day ago
Hands-On With the iPhone Duo's New Face Unlock
Hands-On With the iPhone Duo's New Face Unlock
1 day ago
macOS 27.3 Warns Against Giving AI Apps Full Mac Control
macOS 27.3 Warns Against Giving AI Apps Full Mac Control
1 day ago
iPad and Mac Get Apple Intelligence in China in 27.3 Betas
iPad and Mac Get Apple Intelligence in China in 27.3 Betas
1 day ago
Apple News+ Puzzles Come to UK, Australia, and French Canada
Apple News+ Puzzles Come to UK, Australia, and French Canada
1 day ago
macOS Golden Gate 27.3 Beta 2 Now Available for Developers
macOS Golden Gate 27.3 Beta 2 Now Available for Developers
1 day ago
Apple Celebrates Pokémon With iPhone Wallpapers and Special Gift Card
Apple Celebrates Pokémon With iPhone Wallpapers and Special Gift Card
1 day ago
Apple TV App Gets Video Podcasts in iOS 27.3
Apple TV App Gets Video Podcasts in iOS 27.3
1 day ago