Search code examples
iosswiftparse-platformpfquerytableviewcontrolle

PFQueryTableViewController refresh data


Until now i refreshet the data when the user would navigate from another ViewController to my PFQueryTableViewController like this

override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)
        //self.loadObjects()
}

The new version of ParseUI removed self.loadObjects(). How do i tell the my PFQueryTableViewController to refresh the data without using "Pull to refresh"?


Solution

  • This fixed it. I forgot to import #import <Bolts/Bolts.h> to my bridging header.