Declare the macro in the #ifdef __OBJC__
section of your AppName-Prefix.pch.
iOS - Is it possible to make a macro globally available without importing the file in which it is defined every time? [duplicate]
-
16-07-2023 - |
Вопрос
I want to define a logging macro that I can use in all my source files, but I don't want to import the file in which I defined the macro every time? So, I am just curios whether it is possible to make a macro globally available without importing the file in which it is defined every time?
Решение
Не связан с StackOverflow