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

Plugin Information


  • Subject: Plugin Information
  • From: Rick Langschultz <email@hidden>
  • Date: Mon, 14 Apr 2008 01:30:20 -0500

Hello everyone,

My application uses plugins from a support folder in /Library/ Application Support/AppName/Plugins/. The application searches this folder for all the plugins and loads them. But here is my dilemma: i want to put the plugin class name as the bundle identifier so that i can call methods from those classes when something in the main application is triggered.

For instance, I have a plugin called A.plugin, B.plugin, and C.plugin with Principal Classes named APluginClass, BPluginClass, and CPluginClass respectively. They conform to AppNameProtocol which has an installation, allocation/init, dealloc, and other class names.

My code uses NSString *bundlePath, and NSBundle *bundle. I want to have something like *bundlePathA, *bundlePathB, etc; and *bundleA, *bundleB, *bundleC. Is there a simple way that I can do this?

I have researched NSBundle on the Developer docs, and on apple.com, along with some code on google.com/codesearch .

Can anyone give me a pointer or two?

Thanks,

Rick L.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Plugin Information
      • From: Uli Kusterer <email@hidden>
    • Re: Plugin Information
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: NSDateFormatter giving different results in different programs
  • Next by Date: Re: Accessing Directory.app shared contacts
  • Previous by thread: Re: NSDateFormatter giving different results in different programs
  • Next by thread: Re: Plugin Information
  • Index(es):
    • Date
    • Thread