title: "Initializer element is not a compile-time constant" why?
body: <p>I have this code:</p>
  
  <pre><code>- (NSString *) calculate: (uint) position {
      static NSArray * localArray = [NSArray arrayWithArray: self.container.objects ];
      // some un related code
      return obj;
  }
  </code></pre>
  
  <p>The compiler complains saying: "Initializer element is not a compile-time constant". It happened when I added "static" to localArray. But why?</p>