title: How does one use namespaces in iOS objective-c code?
body: <p>I'm writing an iOS app, "Best Korea". My organization name is "Srsly.co". I'm going to write re-usable "News" libraries that I'll use across my apps. </p>
  
  <p>Each iOS app will have its own app-wide constants in a <strong>.h</strong> file, and the library code will have its constants as well in header files. I'll also have tests for each of these projects.</p>
  
  <p>Is this the standard way of doing things?</p>
  
  <p>In Ruby, Python, Java, etc., I'd set up namespaces along these lines:</p>
  
  <pre><code>co.srsly.bestkorea
  co.srsly.bestkorea.test
  co.srsly.newslib
  co.srsly.newslib.test
  </code></pre>
  
  <p>As far as I can see, the Objective-C pattern is for each developer to choose two or three upper-case letters and prefix every class name with them. </p>
  
  <p>So in my case, I'm thinking I'd choose <strong>BK</strong> as the app's classname prefix and <strong>NL</strong> for the news lib code? Am I thinking about this the right way?</p>
  
  <p>EDIT: I'm considering <em>not using namespacing at all in my application code</em> as discussed <a href="https://stackoverflow.com/questions/1021035/are-namespace-collisions-really-an-issue-in-objective-c?rq=1">here</a>.</p>