Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这两个命令之间确实存在什么差异。
NSLog(@"Hello World!!");
和
LOG(@"Hello World!!");
NSLog确实将消息显示到控制台,但LOG没有。那是LOG为了什么?提前谢谢。
NSLog
LOG
尝试命令 + 单击 LOG() 方法以转到它的定义。可能它是您项目中的自定义日志方法。