• 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: Re: Providing application resources to a Plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Providing application resources to a Plugin (From: "Eric Czarny" <email@hidden>)

  • Prev by Date: Re: NSWorkspace launchApplication fails on some apps
  • Next by Date: Accessing preferences of another application
  • Previous by thread: Re: Providing application resources to a Plugin
  • Next by thread: Newbie: Alignment and resizing of window
  • Index(es):
    • Date
    • Thread