Re: difference between frameworks and plugins
Re: difference between frameworks and plugins
- Subject: Re: difference between frameworks and plugins
- From: Bob Ippolito <email@hidden>
- Date: Thu, 3 Feb 2005 12:54:13 -0500
On Feb 2, 2005, at 22:30, Kevin Ballard wrote:
On Feb 2, 2005, at 4:56 PM, Jesse Grosjean wrote:
Right now I can have one plugin talk to another by using
NSClassFromString and performSelector, but I would like to set things
up so that one plugin can use the symbols defined by another plugin
and so that I get some type-checking at compile time. Is this
possible, any thoughts on how best to setup the build environment to
support this?
I think there's a way to ask ld to not error out about undefined
symbols. Then, assuming you load your plugins in the right order, it
*might* work to refer to symbols from one plugin in another. I really
don't know, since I've never tried it. It certainly would be safer to
just keep doing what you were before.
With the MACOSX_DEPLOYMENT_TARGET set to at least 10.3, you can use:
-undefined dynamic_lookup
This should work, if loaded in the right order, but I wouldn't use it
for this purpose.
-bob
_______________________________________________
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