-1

I'm having a problem to perform this action in Swift

override func viewDidAppear (animated: Bool) {
    toDoListTable.reloadData ()
}

I'm having the following error: Fatal error: unexpectedly found nil while unwrapping an Optional value (LLDB)

how do I solve this problem?

printscreen

joaumg
  • 1,238
  • 1
  • 12
  • 27

1 Answers1

0

Most probable cause is that you did not connect your table view with the IBOutlet in your view controller's code.

Alain T.
  • 40,517
  • 4
  • 31
  • 51