I have a warning in Xcode Assigning to ... from incompatible type. It appears when i set delegate of tableView to UIViewController without UITableViewDelegate protocol.
This warnings are annoying and i want to disable it. However i can't find how to do this. Only this post showed something similar.
So there are some downvotes from a couple crybabies, but the answer for this question can be useful in some cases. Maybe not in this one but at similar situations.
I finally found the answer and it seems, that the only way now (end 2016) to implement protocol and than use
#pragma GCC diagnostic ignored "-Wprotocol"