• 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: difference between frameworks and plugins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >difference between frameworks and plugins (From: Jesse Grosjean <email@hidden>)
 >Re: difference between frameworks and plugins (From: Kevin Ballard <email@hidden>)

  • Prev by Date: Re: Invoking the superclass from a private method correctly
  • Next by Date: Re: Stop dragging my <NSWindow> around
  • Previous by thread: Re: difference between frameworks and plugins
  • Next by thread: Re: difference between frameworks and plugins
  • Index(es):
    • Date
    • Thread