I’m attempting to use a library which has a iOS5 and iOS4.3 flavours. The problem I’m having is getting the right version included conditionally, i.e:
for iOS5:
#include ios5stuff.h
@implementation
// do stuff
@end
For iOS4
#include ios4stuff.h
@implementation
// do stuff
@end
I can see how to conditionally include stuff within the class’s implementation block, but not outside this. Can anyone suggest the best way of doing this?
You should be able to do this (untested):