Created
September 2, 2013 05:31
-
-
Save danmartyn/6409480 to your computer and use it in GitHub Desktop.
Add target for cocoa app
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
1) Choose the target you want to add to | |
2) Choose Build Settings | |
3) Search for 'macros' | |
4) Add a macro | |
To use the macro in the app: | |
#ifdef MACRO | |
// do some stuff | |
#elif OTHERMACRO | |
// do other stuff | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment