0

How can I define a Objective-C macro like: #define IMPORT(ClsName), so that IMPORT(AManager) expands to: #import "AManager.h"?

K.F
  • 97
  • 4
  • 1
    Basically you can't do what you want. See [Escaping a # symbol in a #define macro?](https://stackoverflow.com/questions/1135822/escaping-a-symbol-in-a-define-macro) – HangarRash Nov 08 '22 at 05:45

0 Answers0