Macros were cool, they are already cool for Objective-C developers. (If you have an Objective-C project, this article is for you.) But in Swift, you should choose a different way to manage your project configurations. Because they are not available anymore.
But we have other cool things like xcconfig files and custom flags.
1 – Lets start with Config files…
You can use config files to define project variables and set different values for these variables under different project schemes.Read More »