Skip to content

Instantly share code, notes, and snippets.

@danmartyn
Created September 2, 2013 05:31
Show Gist options
  • Save danmartyn/6409480 to your computer and use it in GitHub Desktop.
Save danmartyn/6409480 to your computer and use it in GitHub Desktop.
Add target for cocoa app
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