Xcode 11 Beta 2 To Help Coders Try SwiftUI
Apple’s SwiftUI was a hit in the WWDC conference held earlier this month. It gathered a massive interest from the iOS developers across the globe for offering a completely new way for building UIs on all Apple platforms with only one set of APIs and tools.
And now it is time for the interest to gain momentum.
Xcode 11 Beta 2 has been announced to offer support for SwiftUI. The Model-View-View-Model design pattern and declarative syntax of the Apple’s new development framework will now work seamlessly with the new drag and drop tools of Xcode 11.
SwiftUI is an entirely new take on the IDE generating dynamic and IDE previews, which also offers interactive previews of the custom views on the run – Something that fits seamlessly with how Apple envisions Xcode.
“As you work in the design canvas, everything you edit is completely in sync with the code in the adjoining editor,” Apple says. “Code is instantly visible as a preview as you type, and any change you make to that preview immediately appear in your code. Xcode recompiles your changes instantly and inserts them into a running version of your app, visible, and editable at all times.”
In addition to the drag and drop function, the design tool of Xcode 11 will consist of a other features like –
Previews: Developers will be able to create single or multiple previews of the SwiftUI views to gather the sample data plus configure anything that the users might see – Dark Mode, Localizations, or Large Fonts.
The functionality would also display the UI you have designed on any device and orientation.
Dynamic Replacement: Runtime and Swift compilers are completely embedded all across the Xcode. This way, your app is constantly being developed and run. In addition to this, the design canvas that you will see will not simply be an approximation of the user interface, but it will be your live application!
In addition to these, Xcode 11 Beta 2 also consists of a plethora of new functionalities and solved issues that were affecting the IDE components like:
- Apple Clang compiler
- Command-line tools
- Build system
- Core Data
- Signing and distribution
- Interface Builder
- Source editor
- Source control
- Swift tutorials
Apple release notes that the new version of Apple development environment – which would require a macOS Mojave 10.14.4 or later running on a Mac – would offer a whole new list of SDKs and on-device debugging support as well.
It consists of SDKs for macOS Catalina 10.15, iOS 13, tvOS 13, and watchOS 6. It would also support on-device debugging for all versions of iOS 8 and plus, tvOS 9 and above, and watchOS 2 and its advanced versions.
So here was everything introduced in the new Xcode 11 Beta 2 version. Be hooked to our blogs to remain up-to-date with what’s new in the Apple world.
strategies your digital product..