So I am working on a learning project and I am trying to create a header file that contains a store of URL\'s so that you can just change a single flag to change from Debug
I think this should work
#define DEBUG 1 #if DEBUG #define URL = @"dev.myserver.com"; #else #define URL = @"myserver.com"; #endif