Type Safely

Share this post
Use The New UIHostingConfiguration To Display SwiftUI In a UITableViewCell
typesafely.substack.com

Use The New UIHostingConfiguration To Display SwiftUI In a UITableViewCell

Daily Coding Tip 118

Rob Sturgeon
Jun 27
Share this post
Use The New UIHostingConfiguration To Display SwiftUI In a UITableViewCell
typesafely.substack.com
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…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2022 Type Safely
Privacy ∙ Terms ∙ Collection notice
Publish on Substack Get the app
Substack is the home for great writing