SwiftUI+Combine Q&A: Will it change the way you build iOS apps? | iOS Lead Essentials Podcast #022

Have you ever wondered how SwiftUI and Combine will change the way you architect, test, and build your iOS apps?

So this podcast is for you.

In this episode, we reply to nine questions and discuss the impact Apple's new frameworks have on our daily work. Including:

  • "What do you think about SwiftUI?"
  • "Have you been using SwiftUI in production?"
  • "I've been watching your YouTube videos on iOS architecture using UIKit, and I wonder how SwiftUI would change the way you designed the overall architecture of your apps. What would be different?"
  • "You said it should be easy to replace a UIKit layer with SwiftUI. But I don't think it can be that easy. For example, your models need to change to conform to the ObservableObject protocol. So will SwiftUI + Combine change the way we architect, test, and build iOS apps?"
  • "How will SwiftUI+Combine change the way you write tests or do TDD?"
  • "As someone who's starting now, should I focus only on SwiftUI or learn how to use Storyboards and UIKit?"
  • "How to decouple navigation between screens in SwiftUI?"
  • "I separated my iOS app into layers, but I don't know where to place the navigation logic. Should the navigation logic be part of the business logic modules or the UI modules that talk to frameworks like SwiftUI/UIKit/AppKit?"
  • "Where is Combine in the picture of a clean architecture? I know that frameworks are details, and they have to be separate from business logic, but how can I take advantage of the brand new data publisher of URLSession if it is not using a passing around the publisher?"
  • "How SwiftUI influences the selection of a UI pattern? In my opinion, Apple released SwiftUI with MVVM in mind. Will MVVM be the new MVC in iOS apps?"

We highly suggest you watch or listen to this podcast to learn how to fit SwiftUI and Combine in your new or existing projects and be ready to take advantage of future updates and improvements.

Notes