Skip to content

2.0 - UITableView causes crash when refresh begins #78

@chrismanahan

Description

@chrismanahan

When pulling down a table view to refresh, I crash in tableView:cellForRowAtIndexPath when I access my datasource.

As a workaround, I added a try catch block around where I use [indexPath row] to access my datasource.

In this specific crash, I have 2 sections and 2 datasources. The crash happens when indexPath has a section of 1 (2nd section). When inspecting indexPath in the debugger, it shows that [indexPath row] is <nil>. This is when the control is stretched far enough to begin refreshing, but crashes before it does

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