lol. this is so wrong. macros do text substitution. Complex macros substitute text in complex, often unpredictable ways.
Macros are not meant for code reuse. there are LANGUAGE features for that.
The examples you give should never have been macros, they should have been extensions on the base class or defined in a Constants class.
examples like this are the very reason there IS no preprocessor in swift.