This answer helped me pinpoint the source of my crashes. Because I have parallel fetches, when a fetch finishes, each section also makes a copy of the data source snapshot in parallel. When sections then delete themselves from the snapshot and apply the snapshot, they do not include the sections that may have been deleted in other copies that were made in parallel. This causes a layout pass that asks my compositional layout section provider for layouts for sections that are no longer valid.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: