in objective c we can create our warnings.
In my case , requirement is if framework is not available i want to show my warning at the compile time.
is there any way ?
I tried
# define BOOL isFrameworkLoaded = (NSClassFromString(@"SystemConfiguration") != nil);
#ifdef isFrameworkLoaded
#else
#warning @"Add System Configuration Framework"
#endif
but getting no result.