Closed jsonmat closed 8 years ago
I am getting the error above when trying to call tableView.reloadData() from my function.
tableView.reloadData()
But if I put it inside the button's action, it works fine:
func submit(_: UIBarButtonItem!) { //let message = self.form.formValues().description //let alert: UIAlertView = UIAlertView(title: "Form output", message: message, delegate: nil, cancelButtonTitle: "OK") //alert.show() row4.configuration[FormRowDescriptor.Configuration.Options] = ["hello", "from", "the"] row4.value = "hello" self.tableView.reloadData() } What should I do?
Last question please..
Please, refer to README.MD to know how to configure a FormViewController properly. As you mentioned in your issue title FormViewController form property is not being assigned.
I am getting the error above when trying to call
tableView.reloadData()
from my function.But if I put it inside the button's action, it works fine: