in my code I have created a Category over UIViewController, so that every of my UIViewControllers has a error handling method. Unfortunatey now whenever I call this method from the category I get the following warning in XCode:
'MainWindowViewController' may not respond to '- (...method name...):'
We try to have our code without any warnings, so I wonder if there is any clever way to keep the Category and get rid if the “may not respond to” warning”.
Thanks for your help!
Importing the header where your category is declared to implementation file where methods from that category are used should eliminate that warning.