In the previous chapter, we learned about Previews and how we can view our UI while we are still developing the SwiftUI code. This allows us to view the layout, and if we are in debugging mode, we can also interact with our UI. So far, we have kept our SwiftUI separate and not used any UIKit either. It is almost as if this were a separate technology or language.
In this chapter, we shall go a little further and look at how we can integrate our SwiftUI and UIKit elements together.