Rich-text Reply

How to centralize Optimizely variables in a Header? iOS

joaosbt 11-21-16

How to centralize Optimizely variables in a Header? iOS

[ Edited ]

Is there a way to centralize all optimizely variables in a header file?
I'm getting duplicate symbol errors when I do it.

VariablesHeader
- Import Optimizely
- Declare OptimizelyVariableKeyForString variable XPTO
Class A
- Import header in .m class
- Use Variable XPTO
Class B
- Import header in .m class
- Use Variable XPTO

Error : duplicate symbol _XPTO in: Class A and Class B

Level 2