I've found that there is a UIKIT_DEFINE_AS_PROPERTIES
macro in a lot of places in system's headers like this:
#if UIKIT_DEFINE_AS_PROPERTIES
@property(class, nonatomic, readonly) UIDevice *currentDevice;
#else
+ (UIDevice *)currentDevice;
#endif
But I cannot find the value of it.
what's the use for UIKIT_DEFINE_AS_PROPERTIES
and where is it defined?
It is for swift?