我想创建宏,它返回自我类。
MyCustomClass.m:
static MyCustomClass *_instance = nil; //not suitable
static [self class] *_instance = nil; //incorrect, but want like this
static SELF_CLASS *_instance = nil; //target
如何创建这样的宏:
#define SELF_CLASS ...?...