Search code examples
iosswiftuser-interfaceuiviewcontrollersegue

How to fix SIGABRT error? Transferring data between controller views?


I'm trying to get the information in the text fields in one view controller and then put that information into the text view of another view controller. When I compile I get no error but when I run the program and click the find path button the program crash and gives me a sigabrt error.

Note: I didn't add any code to the viewcontroller(1st screen), therefore I didn't add a picture of it. And this is in Swift 4, Xcode 9

enter image description here

enter image description here

enter image description here


Solution

  • To fix this problem I looked at the connection of each of my view controllers. Than I deleted the ones with an "!" next to the connection by clicking the "x" button on the connection.

    this solved the problem