記錄幾個特殊的宏

_cmd 至關於@selector(當前的方法名)web - (void)tapAction { NSLog(@"%@ in %@", NSStringFromSelector(_cmd), self.class); } 打印app tapAction in ViewController __FILE__ 文件路徑 __FUNCTION__ 方法 __LINE__ 行號svg NSLog(@"%
相關文章
相關標籤/搜索