I have implemented the tableView:editActionsForRowAtIndexPath:
function, however i experience intermittently the indexPath
passed to this function is nil. When i try to access indexPath.row
, its get a value 18446744073709551615.
I am querying for the object in the array I use to build the table. and getting the crash --[__NSArrayM objectAtIndex:]: index 18446744073709551615 beyond bounds [0 .. 1]'
There was a case where I was reloading my table using [table reloadData]
an editAction call then would get passed a nil indexPath, however this is still intermittently happening.
Is there any way i can enforce the correct indexPath to be passed to tableView:editActionsForRowAtIndexPath: