2012年4月27日 星期五

[Objective C] Use NSLog to Debug

Below is a learning note

People often use NSLog() for debugging, but in an iOS app, where can you get the output of the NSLog inside your codes?


the answer is "console"
Go to ToolBar and select Run, and then you'll find the Console.

This is where all the NSLog messages are.












Someone mentioned a better way to deal with NSLog debugging.Here

沒有留言:

張貼留言