Dmitry Dmitry - 1 year ago 117
Objective-C Question

Undefine a macro in Objective-C

How do I undefine a macro in Objective-C?

I have situation where a macro is defined automatically, but I want to undefine it manually. How do I do this?

#ifdef macro_name

Answer Source
#undef macro_name

is the directive of your dreams.