Search code examples
iphonexcode4

Localization of header files iOS


Is it possible to localize a header with macros in Xcode?

Lets say for English i might want a size of a font to be 17.0f, but 13.0f for Spanish.

Can this be done?


Solution

  • Figured it out. What I asked for is not possible. The header files are evaluated during build time but the localization is set during run time.