What do we have:
We have a table view with food items as a list. On selecting a food item, we want to invoke
editFood method but only through the
On tap on any food item, it posts a notification and initiates a series of methods. This results in an exception, our very dear friend
Broadly two concepts: debugging and troubleshooting; selectors.
For the former: we want to know the thought process behind debugging a crash, what are the main steps to trace the cause and how would this be different from tackling a
For the latter one: a general discussion on selectors and when could we possibly want to use selector names to invoke methods.