title: Reading text file with NSString:stringWithContentsOfFile?
body: <p>Reading text file with NSString:stringWithContentsOfFile?</p>
  
  <pre><code>NSString *txtFilePath = [[NSBundle mainBundle] pathForResource:@"\help" ofType:@"txt"];
  NSString *txtFileContents = [NSString stringWithContentsOfFile:txtFilePath encoding:NSUTF8StringEncoding error:NULL];
  
  NSLog(@"File:  %@",txtFileContents);
  </code></pre>
  
  <p>I get "null" as the result.  How do I know what path to specify?</p>
  
  <p>thanks</p>
  
  <p>(I placed the file just under "Groups and Files" ... so not sure if I need to specify a path or just the file name.  Maybe there is something else wrong ???  </p>