title: Objective C - How to use extern variables?
body: <p>I am trying to use extern variables.</p>
  
  <p>It complains that because of using numberWithInt I am not passing a contants as the value of my variable</p>
  
  <p>So I removed the const and it's complaining that an extern variable must be a constant, so what is the solutions here?</p>
  
  <p><strong>I DO NOT WANT TO USE INT</strong></p>
  
  <pre><code>.h
  extern NSNumber const *MoveID;
  
  .m
  NSNumber const *MoveID = [NSNumber numberWithInt:1];
  </code></pre>