A new iOS framework for building user interfaces. In June, Apple unveiled new technologies that let developers build new apps more easily (and therefore faster). SwiftUI is Apple's renewed, simplified way of developing intuitive apps, and developing intuitive apps happens to be exactly our mission. Coincidence? We think not. This Apple developer ecosystem is still in beta and needs further development before it becomes viable, or even possible, to build advanced apps in SwiftUI. Still, as app developers we could not wait to get started with SwiftUI. Our iOS developers share their findings.
Less code, more results
A groundbreaking new technology for developing apps with complex user interfaces: that is how Apple describes its new iOS framework SwiftUI. With the new SwiftUI framework, ARKit 3 and new Xcode tools, developing iOS apps becomes easier and faster.
Because developers can work from one universal framework for iOS, iPadOS, macOS, watchOS and tvOS, we as developers will soon be able to build native apps for all Apple platforms faster. SwiftUI was developed to make app development faster, easier and more interactive. With relatively simple code that is easy to use, developers can build rich interfaces using:
- Automatic functions
- Layout options
- Dark mode
- Accessibility
- Internationalisation.

Real-time automatic UI previews with Xcode 11
Thanks to the new tools and APIs, developers can now use the same project and source code for Mac and iOS apps. Xcode lets you open an existing iPad project and automatically add or adjust Mac features.
Mac and iPad applications are based on the same code, so every code change affects both the iPadOS and the macOS version. With Xcode 11, UI developers can quickly put together a user interface without writing a line of code.
That is thanks to the new graphical UI design tool. The Swift code is generated automatically, and when the code is changed, the changes show up in real time in the design tool. This is a big advantage, because developers see previews of the UI while they write the code. That makes building, testing and refining much faster across all devices.
What does SwiftUI mean for developers?
With SwiftUI, Apple gives developers new tools for setting up user interfaces (UI). With the new iOS framework, Apple has removed the bottlenecks of storyboards. Interface Builder is the graphical tool for building storyboards, and it lets you put screens together easily. One problem with storyboards is that it is hard for several designers to work on the app at the same time. The developer has to build the app first, after which a designer can test the result, which is not possible under some conditions.
SwiftUI lets you edit clean, readable code easily through a graphical counterpart. App developers can adjust certain elements both in the code and in the preview screen. Apple has stressed for some time that apps in the App Store must be unique and add value. With SwiftUI, Apple moves a step closer to that goal. As the technology behind app development becomes more complex, bugs also appear more often. SwiftUI makes an app more robust: by setting up complex parts automatically and in a simpler way, building the app becomes easier. And that means less chance of bugs.
Our experience with SwiftUI
As app developers, we naturally keep a close eye on new programming tools. To make it easy, Apple offered a free tutorial for writing landmarks in SwiftUI. Frank Solleveld, our iOS developer, worked through the tutorial and shares his findings:
- SwiftUI is a lot more efficient than UIKit, because you write far fewer lines.
- Not only do you write less code (which saves time), you also see the results immediately in a preview. That makes it really pleasant to work with, because you see straight away what the code does, without needing a simulator.
- Building up elements is both logical and easy. Where UIKit uses constraints, SwiftUI needs just 1 line of code.
This new framework is expected to be a big step in mobile app development when it comes to efficiency. It is still small, and UIKit is still perfectly usable. But SwiftUI is expected to be a solid successor that makes programming accessible to a wider audience. UIKit can be rather illogical at times, whereas SwiftUI shows very clearly, in a simplified way, how to build an app. Less code, more fun.
In the words of Frank Solleveld, our iOS developer.
"I expect this new framework to be a big step in mobile app development when it comes to efficiency. UIKit can be rather illogical at times, whereas SwiftUI shows very clearly, in a simplified way, how to build an app. Less code, more fun."

Getting started with SwiftUI yourself
Want to get started with SwiftUI yourself, or curious whether your app could be built in the SwiftUI framework? Through this link you can try Apple's free tutorial yourself.
Do you already have an existing app for Apple's operating system? In some cases it is possible to rebuild an existing app in SwiftUI. However, because the framework is still relatively new, in most cases we would not recommend it yet. Too many functions cannot be (fully) converted, and the community still needs to grow. SwiftUI is also only available on devices running iOS 13, which is not rolled out until later this year. As a developer and as a client, you will probably want the app to support older iOS versions too. So switching is possible, but still very early.
Are you a developer who wants a look behind the scenes? Then at least download the latest Xcode 11 and macOS Catalina. Still want to try integrating SwiftUI? Take a look at the following session Apple hosted during its annual developer conference:
Want to know more about SwiftUI or talk to one of our iOS developers? Get in touch and we will be happy to talk!
Earlier blog: Apple update
In an earlier blog from 4 June, we wrote about the Apple update in which Apple announced, among other things, new guidelines and the SwiftUI framework. In that blog we focused mainly on what it meant for our iOS clients with applications in the Apple App Store. For example, users can now sign in with an Apple ID instead of creating accounts. Thanks to two-step verification, this makes it easier and safer for app users.
Other important new features in the iOS framework for app developers:
- MapKit: includes new features such as raster view, filter tools, limits for zooming and moving the camera, and Dark Mode support.
- Improved language support aimed at SwiftUI and Module Stability. This is the basis for building binary-compatible frameworks in Swift.
- Code can be shared more easily between GPU types and Apple platforms with the new Metal device groups.
- PencilKit: Apple Pencil support can easily be added to the app with the new toolset.
- SiriKit: adds support for audio applications. This makes it possible to integrate Siri so users can control audio with their voice.
.avif)




