How to use a SwiftUI view in place of table view cell
Thanks for answering your own question here. Your solution helped me make a generic HostingTableViewCell class. I’ll post it here if anyone finds this question on Google like I did. import SwiftUI class HostingTableViewCell<Content: View>: UITableViewCell { private weak var controller: UIHostingController<Content>? func host(_ view: Content, parent: UIViewController) { if let controller = controller { … Read more