I've a single view app which has a tableview and a searchbar and the tableview acts as the results view of the search results
tableview contains data from realm database - it works fine
also the search works fine for first two characters
after typing the third character in searchbar it gives >>
Terminating app due to uncaught exception 'RLMException', reason: 'Index 0 is out of bounds (must be less than 0)'

Index was out of bounds for the RowsInSection method , thanks !
How did you solve the issue?
search data count
if count < 1 to return
Most helpful comment
Index was out of bounds for the RowsInSection method , thanks !