Last active
August 29, 2015 14:12
-
-
Save sinri/0a0eb5eb94b8991b4f7f to your computer and use it in GitHub Desktop.
Xcode6でPCHファイルを追加する方法 ref: http://qiita.com/sinri/items/bfc1f27b1a4db5b44586
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef DEBUG | |
#define _Log(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); | |
#else | |
#define _Log(...) | |
#endif | |
// ALog always displays output regardless of the DEBUG alarm | |
#define ALog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment