在宏里面, ##的作用:連接2個標識符
#define method(name) - (void)load##name {}
method(abc) //- (void)loadabc {}
method(ddd) //- (void)loadddd {}
method(ttt) //- (void)loadttt {}
在宏里面, #的作用:給右邊的標識符加上雙引號""
#define test(name) @#name
test(abc) // @"abc"
在宏里面, ##的作用:連接2個標識符
#define method(name) - (void)load##name {}
method(abc) //- (void)loadabc {}
method(ddd) //- (void)loadddd {}
method(ttt) //- (void)loadttt {}
在宏里面, #的作用:給右邊的標識符加上雙引號""
#define test(name) @#name
test(abc) // @"abc"