Skip to content

Instantly share code, notes, and snippets.

@amichnia
Created April 19, 2019 13:07
Show Gist options
  • Save amichnia/2544537e191f2ffb69cd578a728e03a3 to your computer and use it in GitHub Desktop.
Save amichnia/2544537e191f2ffb69cd578a728e03a3 to your computer and use it in GitHub Desktop.
// Below would import or not, depending on whether it is linked
@import AdditionalSDK;
// ...
+ (BOOL)additionalModuleAvailable {
if ([AdditonalSDK class]) { // Or any class from additional SDK
return YES;
} else {
return NO;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment