Type Safely

Type Safely

Use The New UIHostingConfiguration To Display SwiftUI In a UITableViewCell

Daily Coding Tip 118

Millie Sturgeon's avatar
Millie Sturgeon
Jun 27, 2022
∙ Paid
Image by Alexas_Fotos from Pixabay

I’m going to be using UIViewRepresentable to display a UITableView in SwiftUI.

All I need to get started is a type called ListRepresentable that stores an array of items and a constant string for a cell reuse identifier. Inside that type is a class called Coordinator, which is currently an ordinary NSObject, but it too h…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture