title: Creating NSObject with NSArray
body: <p>I'm trying to create a NSObject class which contains an array which contains the alphabet. When I try to implement the array, I get a warning stating that "Initializer element is not a compile-time constant" I've researched it and it has something to do with the program not knowing which value will be used at compile time I don't know how to rectify this with the code I've got. I have the interface and implementation code here:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  @interface Alphabet : NSObject {
      NSArray *alphabet;
  }
  @end
  
  #import "Alphabet.h"
  
  @implementation Alphabet
  
  NSArray *alphabet = [[NSArray alloc] initWithObjects:@"a",@"b",@"c",@"d",@"e",@"f",@"g",@"h",@"i",@"j",@"k",@"l",@"m",@"n",@"o",@"p",@"q",@"r",@"s",@"t",@"u",@"v",@"w",@"x",@"y",@"z", nil];
  
  
  @end
  </code></pre>