title: iPhone local file path
body: <p>I have integrated dropbox in my app. I have it up to the point where it displays the files to the user and they can select the ones to download. I know I need to call this line but I don't know what the local file path on an iPhone is. It only needs to be temporary because once I have the text file I will process it... My question is what is the local file path. Thank You in advance.</p>
  
  <pre><code>[[self restClient] loadFile:[filePaths objectAtIndex:indexPath.row] intoPath:localPath]
  </code></pre>
  
  <p>UPDATED BASED ON ANSWER BELLOW:::STILL NOT WORKING</p>
  
  <pre><code>-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
      NSString *localPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0] stringByAppendingString:[filePaths objectAtIndex:indexPath.row]];
      [[self restClient] loadFile:[filePaths objectAtIndex:indexPath.row] intoPath:localPath];
      NSLog(@"%@",[NSString stringWithContentsOfFile:localPath encoding:NSUTF8StringEncoding error:nil]);
  
  }
  </code></pre>