You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
371 B

6 years ago
  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