Months ago I wrote this app that retrieves data from Firebase and show them in TableViewCell. Opening the project today I'm facing this
fatal error: unexpectedly found nil while unwrapping an Optional value
Actually I don't know what to do.
The lines of code that generates the problem are the follow:
if snapshot.exists()
{
self.acceptedQuests.append(InfoQuest(rest.key, quest?["name"] as! String, quest?["description"] as! String, quest?["image"] as! String))
print(self.acceptedQuests.count)
self.tableView!.reloadData()
}
Any help will be really appreciated.