I'm using a PFQueryTableViewController
from Parse.
I'm using a segmented control to retrieve two types of items from the database. Depending on which segmented button is selected, it retrieves one type or the other and reloads the same tableView. The problem is that when I am loading one type and then I switch to the other while the first is still loading, the tableView populates with items of the first type. Any way to cancel a tableView data retrieval?