I have a collection of static NSString consts in one of my header files that I would like to utilize in a new static NSArray (or NSString[]) but am running into the following error
Initializer Element is not a compile-time constant
My strings and array are set up as follows:
static NSString * const SOMEVAL = @"val";
static NSString * const SOMEKEY = @"key";
static NSString *KEYLIST[] = { SOMEVAL, SOMEKEY };
Is it possible to get this static array to compile in this manner or will the previously declared NSStrings always show up as non-compile-time constants?