The following code is giving me errors:
// constants.h
extern NSArray const *testArray;
// constants.m
NSArray const *testArray = [NSArray arrayWithObjects: @"foo", @"bar"];
The error I get is
initializer element is not constant
Or if I take away the pointer indicator (*) I get:
statically allocated instance of Objective-C class 'NSArray'