Xcode error - Could not cast value of type

   

  Asked by Anonymous - Xcode error - Could not cast value of type:
I was using multiple segue and started getting this xcode error where it says could not cast value of type (then has controller name info).

What would cause this?  I've looked through it many times and cannot find anything that I changed on the segue calls.

Anonymous Says:
You had to have changed something with your segues.  Even something small could have triggered it, check your parameter exchanges and make sure those weren't altered.  Also check to see if going back and forth and your prepare functions are executing and doing something with parameters you dont want it to do.

Anonymous Says:
Xcode swift or objective C?  It should matter wiht this type of error, just wondering.

Anonymous Says:
Your answer got me to the solution, the prepare statement when I used a button to go back to first segue was executing some stuff i didnt want it to execute in that scenario  Thanks!

Add your reply below ...


Your Nickname:

Your Reply:

Type the code: