If I am including frameworks in my iOS project that are only available in (for example) iOS 9, but I am still supporting iOS 8, how do I conditionally conform to a delegate protocol depending on the iOS version? For example, I understand I can include the framework conditionally like this:
#import <Availability.h>
#ifdef __IPHONE_9_0
#import <Something/Something.h>
#endif
But what if that framework also needs to conform to a delegate protocol?
@interface ExampleController () <UITextViewDelegate, SomethingDelegate>
How do I only include "SomethingDelegate" if I'm on iOS 9?
Thanks!