I’m doing a presentation on debugging in Xcode and would like to get more information on using NSLog efficiently.
In particular, I have two questions:
- is there a way to easily NSLog the current method’s name / line number?
- is there a way to “disable” all NSLogs easily before compiling for release code?