Apple surprised the developer crowd with the unveiling of a brand new SwiftUI framework, a modern UI interface coding structure that is built from the ground up to take advantage of Swift.

The new framework uses declarative paradigms to let developers write the same UIs in less code.

SwiftUI enables a realtime UI programming environment inside of Xcode. Developers declare the kind of UI components they want to show in their app’s UI and it appears immediately on the right-hand side of Xcode.

The declarative framework enables many automatic behaviors to be applied automatically, making it easier for developers to adopt features like Dark Mode — without writing additional code.

SwiftUI enables rich interfaces to be built across iOS, tvOS, macOS and watchOS.

FTC: We use income earning auto affiliate links. More.

MacStadium Private Cloud for Mac

Check out 9to5Mac on YouTube for more Apple news:

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

About the Author