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
13 lines
371 B
#ifndef FIR_SWIFT_NAME
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
// NS_SWIFT_NAME can only translate factory methods before the iOS 9.3 SDK.
|
|
// Wrap it in our own macro if it's a non-compatible SDK.
|
|
#ifdef __IPHONE_9_3
|
|
#define FIR_SWIFT_NAME(X) NS_SWIFT_NAME(X)
|
|
#else
|
|
#define FIR_SWIFT_NAME(X) // Intentionally blank.
|
|
#endif // #ifdef __IPHONE_9_3
|
|
|
|
#endif // FIR_SWIFT_NAME
|