title: Pass NSIndexPath by reference
body: <p>I am using ARC and want to create a method that passes in an indexPath by reference so I can change its value:</p>
  
  <pre><code>-(void)configureIndexPaths:(__bridge NSIndexPath**)indexPath anotherIndexPath:(__bridge NSIndexPath**)anotherIndexPath
  {
        indexPath = [NSIndexPath indexPathForRow:*indexPath.row + 1 inSection:0];
        anotherIndexPath = [NSIndexPath indexPathForRow:*anotherIndexPath.row + 1 inSection:0];
  }
  </code></pre>
  
  <p>But this gives me a property row not found error. How can I address this. </p>
  
  <p>And another conceptual question: if my my goal is just to change the value of indexPath that was passed in to the method, couldn't passing by pointer also do that? Why would I choose to pass by reference rather than pass by pointer?</p>