Whether you're creating a brand new app or building on an existing one, with the best will in the world, at some point, you'll always need to tap into some form of existing framework or legacy code. Regardless of what people may say... that's actually okay.
In this chapter, we'll touch on the basics of networking in SwiftUI and how you might link into an existing networking approach that's commonly used by most iOS apps. Then, we'll deep dive into how we can use and harness existing UIKit Controls and gracefully yet powerfully implement these directly into our SwiftUI app.
The following topics will be covered in this chapter:
- Basic networking in SwiftUI
- Integrating UIViews with UIViewRepresentable
- Integrating ViewControllers with UIViewControllerRepresentable
- Other representable protocols