I am using the Parse.com framework with my iOS app. I want to have two section in an UITableView. I read that I can use the PFQueryTableViewController to query data from the parse cloud and have it in a UITableView. How can I use PFQueryTableViewController to query the User class usernames to be in one section of the UITableView, and the friends of the currentUser to be in the other section of the UITableView, friends is an array variable that I made every PFUser have. How would I do this?
I am using the Parse.com framework with my iOS app. I want to have
Share
The
PFQueryTableViewControllerclass is really intended to be used for a single query only – your requirement needs two queries to be performed (one for thecurrentUsers‘s friends, and one for allUser‘susernames. If I were you I’d implement my own table view controller that performs the two queries in the background separately, and manages its own calls toreloadDatawhen the data is returned from Parse for each section of thetableView.