title: How to check if an object is the last object on NSArray
body: <p>How can I check if an object in the last object on an <code>NSArray</code>?</p>
  
  <p>I've tried:</p>
  
  <pre><code>if ([currentStore isEqual:[Stores lastObject]])
  {
    //Code
  }
  </code></pre>
  
  <p>but it didn't work.</p>
  
  <p>Any idea?</p>
  
  <p>Thanks!</p>