title: What is the difference between [object property] and object.property?
body: <p>They both do the same thing, return the value of an object's property called property. So, what is the difference other than syntax? Same thing also happens with arrays,  </p>
  
  <pre><code>[[numberArray objectAtIndex:indexInt] integerValue]  
  </code></pre>
  
  <p>is the same as  </p>
  
  <pre><code>((NSNumber*)numberArray[indexInt]).integerValue
  </code></pre>
  
  <p>At least it has been the same so far.</p>