title: Global Variable pulled from App Delegate
body: <p>I am trying to use a variable integer throughout multiple methods in my view controller. The secondsLeft variable works fine, but the otherNumber variable won't work. I get the error: initializer element is not a compile-time constant. Any ideas on how I am supposed to do this? THank you!</p>
  
  <pre><code>@interface ViewController ()
  
  @end
  
  @implementation ViewController
  @synthesize countDown,Timerlbl;
  
  int secondsLeft = 500;
  
  int otherNumber =[(AppDelegate *)[UIApplication sharedApplication].delegate otherNumber];
  </code></pre>