Re: Re: Providing application resources to a Plugin
Re: Re: Providing application resources to a Plugin
- Subject: Re: Re: Providing application resources to a Plugin
- From: "Michael Ash" <email@hidden>
- Date: Tue, 22 Aug 2006 18:23:04 -0400
On 8/22/06, Eric Czarny <email@hidden> wrote:
In fact, it sounds like you don't have to do any of that. You could simply
write code within a plugin as if it were in the application itelf. Turn off
the warnings complaining about missing symbols, etc, and link it into the
application. Everything within that application should become available to
the plugin, as it appears the Objective-C runtime takes care of it. Of
course this opens up the possiblity of duplicate symbols.
Please don't disable linker warnings. It's not necessary and will hide
errors in difficult-to-debug ways.
If you need to create a plugin that uses symbols from the host
application, set the "Bundle Loader" to point to the host application,
and then you can use symbols from it without disabling anything and
without getting any linker errors or warnings.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden