How to define a preprocessor symbol in Xcode
Posted
by Steph Thirion
on Stack Overflow
See other posts from Stack Overflow
or by Steph Thirion
Published on 2008-12-15T02:52:04Z
Indexed on
2010/04/22
16:53 UTC
Read the original article
Hit count: 343
Is it possible to set a symbol for conditional compilation by setting up properties in an Xcode project?
My aim is to to create a symbol that is available to all files, without having to use import/include, so that a set of common classes can have a special behavior in some projects. Like the following, but with my own symbols.
#if TARGET_IPHONE_SIMULATOR
...
#endif
© Stack Overflow or respective owner