Is there a way to test (with the preprocessor) if a file is being compiled under Xcode 4.4 or newer? Or, more particularly, to test if the compiler will automatically @synthesize properties and throw a compile error if not?
Is there a way to test (with the preprocessor) if a file is being
Share
you can use this to test for the feature:
the full list of features is documented here: http://clang.llvm.org/docs/LanguageExtensions.html