I already have two ViewControllers, but I wanted to add another...but for some reason I keep getting the error below. There is no code, that I've added, but I am graphically adding an IBAction to go from ViewController to ViewController3.
2016-05-10 12:26:35.259 App-Title[26519:525203] -[ViewController3 setData:]: unrecognized selector sent to instance 0x7f962ae90cf0
2016-05-10 12:26:35.300 App-Title[26519:525203] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ViewController3 setData:]: unrecognized selector sent to instance 0x7f962ae90cf0'
*** First throw call stack:
(
0 CoreFoundation 0x000000010a8eed85 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010a055deb objc_exception_throw + 48
2 CoreFoundation 0x000000010a8f7d3d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010a83dcfa ___forwarding___ + 970
4 CoreFoundation 0x000000010a83d8a8 _CF_forwarding_prep_0 + 120
5 App-Title 0x0000000109b43c85 -[ViewController prepareForSegue:sender:] + 149
6 UIKit 0x000000010bab45d5 -[UIStoryboardSegueTemplate _performWithDestinationViewController:sender:] + 369
7 UIKit 0x000000010bab4433 -[UIStoryboardSegueTemplate _perform:] + 82
8 UIKit 0x000000010bab46f7 -[UIStoryboardSegueTemplate perform:] + 156
9 UIKit 0x000000010b36ea8d -[UIApplication sendAction:to:from:forEvent:] + 92
10 UIKit 0x000000010b4e1e67 -[UIControl sendAction:to:forEvent:] + 67
11 UIKit 0x000000010b4e2143 -[UIControl _sendActionsForEvents:withEvent:] + 327
12 UIKit 0x000000010b4e1263 -[UIControl touchesEnded:withEvent:] + 601
13 UIKit 0x000000010b3e199f -[UIWindow _sendTouchesForEvent:] + 835
14 UIKit 0x000000010b3e26d4 -[UIWindow sendEvent:] + 865
15 UIKit 0x000000010b38ddc6 -[UIApplication sendEvent:] + 263
16 UIKit 0x000000010b367553 _UIApplicationHandleEventQueue + 6660
17 CoreFoundation 0x000000010a814301 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
18 CoreFoundation 0x000000010a80a22c __CFRunLoopDoSources0 + 556
19 CoreFoundation 0x000000010a8096e3 __CFRunLoopRun + 867
20 CoreFoundation 0x000000010a8090f8 CFRunLoopRunSpecific + 488
21 GraphicsServices 0x000000010f3ccad2 GSEventRunModal + 161
22 UIKit 0x000000010b36cf09 UIApplicationMain + 171
23 App-Title 0x0000000109b4a6ff main + 111
24 libdyld.dylib 0x000000010d79092d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException