• 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
NSBundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBundle


  • Subject: NSBundle
  • From: email@hidden
  • Date: Mon, 7 May 2001 14:41:36 -0700

I have a directory "Plugins" inside my app's "Resources" directory.

I try to locate a specific plugin with:

NSString* path = [NSBundle pathForResource: @"MyPlugin" ofType: nil
inDirectory: @"Plugins"];

I always get back NULL :-(

If I pass @"" or nil instead of @"Plugins" to the directory parameter I
get respectively an assert and a crash. The documentation says "The
argument bundlePath must be a valid bundle directory or nil."

What am I doing wrong?

Arno.


  • Prev by Date: Re: FindFolder Equivalent?
  • Next by Date: Re: FindFolder Equivalent?
  • Previous by thread: Re: runModalForWindow and NSTimer strange behavior
  • Next by thread: Re: NSBundle
  • Index(es):
    • Date
    • Thread