I want to import some data from my parse via PFQueryTableView and Cell. I configured a tableview on storyboard and assign both tableview and it's cell with PFQueryTableViewController and PFQueryTableViewCell. So on my tableview controller i'm using this code below but it gives me error on super.init(className: myClassName) line with a message of "Must call a designated initializer of the superclass 'PFQueryTableViewController'"
import UIKit
import Parse
import ParseUI
class parseTableView: PFQueryTableViewController {
required init(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)!
}
init(className myClassName: String!) {
super.init(className: myClassName)
self.parseClassName = myColoumnName
self.textKey = "myObjectKey"
self.pullToRefreshEnabled = true
self.paginationEnabled = false
}
}