Skip to content

collectionViewSwizzledReloadData Thread 1: EXC_BAD_ACCESS #54

@aritroper

Description

@aritroper

I'm getting the following error

Thread 1: EXC_BAD_ACCESS (code=2, address=0x16bb3bff8)

in the function

@objc private func collectionViewSwizzledReloadData() {
collectionViewSwizzledReloadData()
reloadEmptyDataSet()
}

Causing my app to crash. It appears that the crash happens on some calls to collectionView.reloadData()

Interestingly, the offensive UICollectionView does not even have EmptyDataSet set up on it. It's just a regular UICollectionView.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions