title: Working with paths from [[NSBundle mainBundle] resourcePath]
body: <p>I'm sure it's a very basic problem, but I'm having trouble finding anything about it.</p>
  
  <p>Say I've got my app in a folder, in some more folders, like this:</p>
  
  <ul>
  <li>MainFolder > SecondaryFolder > AppBundle.app > all the stuff</li>
  </ul>
  
  <p>Then, what I want to do is access a file that is in the "MainFolder". I know I can get the path of the AppBundle by using:</p>
  
  <blockquote>
    <p>NSLog(@"%@",[[NSBundle mainBundle] resourcePath]);</p>
  </blockquote>
  
  <p>What I'm uncertain about is how to get the path of the "MainFolder".</p>
  
  <p>Any pointers would be great!</p>
  
  <p>Thanks,
  Tom</p>