title: Why put underscore "_" before variable names in Objective C
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/822487/how-does-an-underscore-in-front-of-a-variable-in-a-cocoa-objective-c-class-work">How does an underscore in front of a variable in a cocoa objective-c class work?</a>  </p>
  </blockquote>
  
  
  
  <p>In objective C I am seeing lots of code with a underscore before variable names e.g _someVariable</p>
  
  <p>why is that? also how to you write accessors i.e get and set method for such a variable.</p>