I connect a segue between a button and a view controller as shown in the screenshoot.
Everything works until I choose the class as "ViewController".
Every time I click the "Add" button, the code crashes with following error:"Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value"
I'm really confused now. Can anyone help me this?