How can I skip a complete method in iOS? I know how to test for the iOS version inside a method, but not how to completely ignore a method.
Concrete example: iOS8 added self sizing table view cells, and the methods heightForRowAtIndexPath:
and estimatedHeightForRowAtIndexPath:
are no longer required. But I do need them for iOS7. Now when I step through the code in iOS8, both methods are called, even though they are no longer needed.