Created
April 19, 2019 13:07
-
-
Save amichnia/2544537e191f2ffb69cd578a728e03a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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