Re: FCP FxPlug load order - how do I control?
Re: FCP FxPlug load order - how do I control?
- Subject: Re: FCP FxPlug load order - how do I control?
- From: Paul Schneider <email@hidden>
- Date: Wed, 25 Jun 2008 17:37:49 -0400
Hi Paul,
FWIW - I've got some classes in both, and the second one to load is
calling into the code from the first one to load.
Is there a way to keep each one from seeing the classes/code in the
other?
there's no way to prevent this in Objective C at the moment (google
for "flat namespace"). Defining common classes in one plugin and
having other plugins counting on that plugin to be loaded is probably
asking for trouble.
The two ways to get around this problem are:
1) if you can, put all of your plugin classes into a single bundle.
We use this technique ourselves; I can explain how it works if you'd
like.
2) if you can't do #1, put the common classes in a shared framework,
and have both plugins link to the framework.
Really, the only reason not to do #1 is if the two plugins are two
separate products, sold separately, and the user could legitimately
have one installed but not the other. But it sounds like if that were
the case, what you're doing wouldn't work (plugin B depends on plugin
A, right?).
- Paul
On Jun 25, 2008, at 5:30 PM, Paul Miller wrote:
Paul Miller wrote:
(I know - this is a goofy one).
FWIW - I've got some classes in both, and the second one to load is
calling into the code from the first one to load.
Is there a way to keep each one from seeing the classes/code in the
other?
--
Paul Miller | email@hidden | www.fxtech.com | Got Tivo?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden