So, I am making a quiz game on xcode and I am using 2 classes, ViewController and Progress2ViewController. The ViewController is for the quiz, and the Progress2ViewController is for the progress page after the quiz. Progress2ViewController is a subclass of viewcontroller. My quiz game runs perfectly, then once I get up to the progress section, it crashes with the error message Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0), which I assume means that the connections are wrong. So do I have to connect everything from the superclass to the subclass for it to work? I am not very experienced with swift or xcode and this is my first time creating an app. Thank you!
If I inherit a class on Xcode do I have to use all of the connections on the subclass that were used on the superclass
Probably you don't have to declare Progress2ViewController as a subClass of ViewController, but just declare both as subClass of UIViewController.
Can you show how you declared ViewController and Progress2ViewController ?
Can you also show the exact place in code where you get the crash ?