Apple's migration and evolution of Swift continues, with the company releasing the latest iteration of the technology in Swift UI.
Introducing the newest generation of Swift, Apple's Craig Federighi demonstrated how a hundred-line piece of code simplified down to about a dozen lines.
Xcode has a new interactive developer experience. A preview on a simulated device updates immediately, based on developer changes.
The new Swift UI uses graphical modules to drop in segments of code, adding the lines as it expands. Pull-down menus make parameter alternation simpler for developers.
A single click allows developers to shift to the simulator. Apps can be moved to actual hardware nearly instantly, with live edits in Xcode automatically migrated to the attached device.
Swift UI also integrated with other APIs, like ARKit. Automatic language optimization for left-to-right languages is included.
The new additions can be used across the entire run of Apple's platforms, including Apple TV, and the Apple Watch.
AppleInsider will be reporting live throughout WWDC 2019, starting with the keynote on Monday, June 3. Get every announcement as it happens by downloading the AppleInsider app for iOS, and by making sure to follow us on YouTube, Twitter @appleinsider, Facebook and Instagram.
15 Comments
AMAZEBALLS!!!
This is something I need to follow because honestly I hate Apples approach to GUI building. Will be reviewing WWDC videos with great interest.
2 comments? One codebase for all Devices... ahh... time to do full re-writes, but willingly! LOL
Sadly SwiftUI seems to be tagged as an iOS 13 only feature, so existing apps aren’t going to be able to move their views to it in the immediate future unless they’re willing to drop iOS 12 and lower support.
Still awesome though!