Post

Replies

Boosts

Views

Activity

Comment on Identifying SwiftUI list cells in XCUITest
@DTS Engineer Thanks for the simplified example. It's interesting that you're referencing app.collectionViews. For my case, it shows up under outlines even if I only have the first cell. Does that make a difference for what I'm trying to do? Also, your test verifies that the "StagingCell" ID is getting set on the static text, which is the result I am currently getting. Can I get the ID set on the cell itself instead?
Jan ’25
Comment on Tracking down a memory leak
Thanks. Yeah, that's pretty much what I thought was going on. I've spent a bunch of time combing through my code and the memory graph, converting lots of reference to weak, but the leak remains. One thing that confuses me is when I see an object in the memory graph (such as a view controller) where all of the references to it are "conservative", which seems to mean "weak". If they're all weak, why does the object remain?
Sep ’22