• 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
Re: Finding "myself" in a plugin architecture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding "myself" in a plugin architecture


  • Subject: Re: Finding "myself" in a plugin architecture
  • From: "Shawn Erickson" <email@hidden>
  • Date: Tue, 20 Feb 2007 10:05:36 -0800

On 2/20/07, Dirk Stegemann (Mailing-Lists) <email@hidden> wrote:
Hello,

Am 20.02.2007 um 18:40 schrieb Shawn Erickson:

> IMHO it seems a little weird to have the framework attempt to look
> outside itself, if you are doing that why not just compile that
> code directly into the plugin code.

You will get into problems when two different plug-ins are loaded
into the same host application, and both plug-ins have been built
using different versions of the same class. The runtime will not be
able to distinguish those classes (they have the same name) and load
only one class, posting a corresponding warning message to stdout (or
stderr? it shows up in console.app).
The only way to work around this issue seems to be to outsource that
class into a framework which getshas to be loaded by the different
plug-ins.

...but it sounds like each plugin has it own framework in its bundle... "it kept returning the framework bundle inside my plugin instead of the plugin itself" ...but may he misstated and meant his application has a framework that plugins link against at runtime.

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Finding "myself" in a plugin architecture (From: "R. Tyler Ballance" <email@hidden>)
 >Re: Finding "myself" in a plugin architecture (From: August Trometer <email@hidden>)
 >Re: Finding "myself" in a plugin architecture (From: "R. Tyler Ballance" <email@hidden>)
 >Re: Finding "myself" in a plugin architecture (From: Shawn Erickson <email@hidden>)
 >Re: Finding "myself" in a plugin architecture (From: "Dirk Stegemann (Mailing-Lists)" <email@hidden>)

  • Prev by Date: Re: Accessing @private superclass ivars
  • Next by Date: Re: Accessing @private superclass ivars
  • Previous by thread: Re: Finding "myself" in a plugin architecture
  • Next by thread: Re: Finding "myself" in a plugin architecture
  • Index(es):
    • Date
    • Thread