• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ScreenSaver & Bundles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ScreenSaver & Bundles


  • Subject: ScreenSaver & Bundles
  • From: "Michael P. Rogers" <email@hidden>
  • Date: Wed, 10 Apr 2002 15:57:32 -0500

Greetings,

I'm trying to bring an image in my resources folder into a ScreenSaverView. But this code:

imagePath = [ [NSBundle mainBundle]pathForResource:@"map" ofType:@"gif"];

gets me null, although map.gif is in the resources folder of my .saver.

What's the right way to access this?

TIA,

Michael
--
Dr. Michael P. Rogers
Office: 203G Shilling Hall
Phone: 217-424-6327 (W) 309-828-8655 (H) 309-825-6454 (C)
E-Mail: email@hidden

Web site: http://math.millikin.edu/
Astronomy Site: http://twincityamateurastronomers.org
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: ScreenSaver & Bundles
      • From: Calum Robinson <email@hidden>
    • Re: ScreenSaver & Bundles
      • From: Matt Gemmell <email@hidden>
    • Re: ScreenSaver & Bundles
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: NSTableView reloadData question FOLLOWUP
  • Next by Date: AppleScipt & Cocoa, argh! I can't get it to work
  • Previous by thread: Re: Capturing right button mouse clicks in NSMatrix
  • Next by thread: Re: ScreenSaver & Bundles
  • Index(es):
    • Date
    • Thread