Objective-C preprocessor directive for ‘if not’ May 30, 2023 by Tarik you could try: #if !(SOME_VARIABLE) // Do something #endif