title: How to print value of a variable by NSLog?
body: <p>A really basic question, I have recently started exploring Objective C and Trying to mess with one example code. However just for debugging purpose I want print value of NSString variable on console. How do I achieve this? </p>
  
  <p>Basically I am a java developer, So I am looking something similar as...</p>
  
  <pre><code>String hello = "world!";
  System.out.println(hello);
  </code></pre>
  
  <p>My variable in this foreign language(Obj-C) is...</p>
  
  <pre><code>NSString *hello = ...calling a method to return string...
  </code></pre>
  
  <p>Any hint will be appreciated!</p>
  
  <p>Thank you</p>