nalexn / ViewInspector

Runtime introspection and unit testing of SwiftUI views
MIT License
2.09k stars 145 forks source link

Testing SwiftUI views that are a part of a UITableViewCell #309

Open chrisbrandow opened 3 weeks ago

chrisbrandow commented 3 weeks ago

Not sure if this is possible at all, but when a SwiftUI view is set to the property .contentConfiguration on a UITableview cell, there does not seem to be an obvious way to introspect that. It can create a UIView object but that has very little useful information.