title: ios public static const equiv
body: <p>I'm trying to accomplish a C style version of <code>public</code> <code>static</code> <code>const</code></p>
  
  <p>What I tried doing already:</p>
  
  <p>ClassA.h</p>
  
  <ul>
  <li><code>extern const int FEATURES;</code></li>
  </ul>
  
  <p>ClassA.m</p>
  
  <ul>
  <li><code>#define THE_CONST 123</code></li>
  </ul>
  
  <p>ClassB.b</p>
  
  <ul>
  <li><code>#import ClassA.h</code></li>
  <li><code>initWithFrame</code>
  <ul>
  <li><code>FEATURES</code></li>
  </ul></li>
  </ul>
  
  <p>Xcode does not through a runtime error, but rather a build error of <code>undefined symbols for architecture i386: "_THE_CONST", referenced from: ...</code></p>
  
  <p>How can I share an <code>extern</code> <code>const</code> to for another class to use as well?</p>