Answer the question
In order to leave comments, you need to log in
Why does the application complain about the AppDelegate?
I'm new to Swift and wanted to update the content of a tableView on swipe down. Initially, everything worked well, but now it swears at:
class AppDelegate: UIResponder, UIApplicationDelegate
2015-09-14 23:11:37.122 test2[727:209741] -[test2.ViewController test:]: unrecognized selector sent to instance 0x14ee0a650
2015-09-14 23:11:37.130 test2[727:209741] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[test2.ViewController test:]: unrecognized selector sent to instance 0x14ee0a650'
*** First throw call stack:
(0x1831ac22c 0x194e200e4 0x1831b32f4 0x1831b00a8 0x1830b296c 0x187c5d1ec 0x187c462c8 0x187d960e0 0x1006a8fd4 0x1006a8f94 0x1006b3678 0x1006a8f94 0x1006c0848 0x1006ab1c0 0x1006ad6f4 0x183163544 0x1831615ec 0x18308cf74 0x18caef6fc 0x187c8ed94 0x10010d464 0x1954caa08)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Answer the question
In order to leave comments, you need to log in
The problem says that you call the test method with some parameter, on an object that does not have such a method. Let's take a closer look at the code and look for the error.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question