title: Issue in iOS5 with indexPath value
body: <p>A strange problem occured when i build my code on iOS5 which was properly working on 4.2.</p>
  
  <p>The problem was with the tableview indexpath. I was trying to get the indexpath value in another method of same class which resulted in a crash in iOS5.</p>
  
  <p>After 2 hours i manage to get it solve by making some changes which i thought to share.</p>
  
  <p>.h file</p>
  
  <pre><code>NSIndexpath *indexPathValue;
  
  @property(nonatomic, copy) NSIndexpath *indexPath;
  </code></pre>
  
  <p>.m file method cellForRowAtIndexPath</p>
  
  <pre><code>self.indexPathValue = indexPath;
  </code></pre>
  
  <p>And used the indexPathValue instance wherever required. Hope this help.</p>