2. What happens when you send a message to an objeect that doesn't implement the method?
Interview Answers
Anonymous
Jul 25, 2017
'NSInvalidArgumentException' will be raised telling you "unrecognized selector sent to instance"
2
Anonymous
May 30, 2017
It crash. For example when you try to call the method run in a String as:
"dog cat".run(" ")
It will crash and tell you "error: value of type 'String' has no member 'run')"