title: MacOsX: ScreenSaver -- how to get the path to .saver bundle
body: <p>I have a ScreenSaver project. In the Resources of this project presents the image file.
  I'm trying to load it like this:</p>
  
  <pre><code>NSString* imageName = [[NSBundle mainBundle] pathForResource:@"DefaultImage" ofType:@"jpg"];
  mpCurrentImage = [[NSImage alloc] initWithContentsOfFile:imageName];
  </code></pre>
  
  <p>But the path of mainBundle is
  /Applications/System Preferences.app/Contents/Resources</p>
  
  <p>How to get the path to the .saver bundle, to load the image from recourses?</p>