// 宏里面的#,会自动把后面的参数变成C语言的字符串 #define keyPath(objc,keyPath) @(((void)objc.keyPath,#keyPath)) 转载于:https://www.cnblogs.com/yintingting/p/4554680.html