FIRAnalyticsSwiftNameSupport.h 371 B

12345678910111213
  1. #ifndef FIR_SWIFT_NAME
  2. #import <Foundation/Foundation.h>
  3. // NS_SWIFT_NAME can only translate factory methods before the iOS 9.3 SDK.
  4. // Wrap it in our own macro if it's a non-compatible SDK.
  5. #ifdef __IPHONE_9_3
  6. #define FIR_SWIFT_NAME(X) NS_SWIFT_NAME(X)
  7. #else
  8. #define FIR_SWIFT_NAME(X) // Intentionally blank.
  9. #endif // #ifdef __IPHONE_9_3
  10. #endif // FIR_SWIFT_NAME