• 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: NSBundle and PlugIns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBundle and PlugIns


  • Subject: Re: NSBundle and PlugIns
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 6 Jun 2004 00:24:11 +0200

Jim,

On 6.6.2004, at 0:07, Jim Witte wrote:

> As a workaround, could you load the new plugin under a different
> "name" like a C++ overloaded name (or descriptor or whatever), use
> that until the app quits, and then have it load the plugin as normal
> on the next application launch?

Forget it. Class and category names (and others) would clash. Well most
probably it *is* doable after all (with the level of flexibility of
ObjC nearly anything goes); heck, I guess you'd be able to rig your own
"unloader", which would programmatically restore the class information,
purging so whatever was loaded from the bundle. Nevertheless, it would
be *lotta* work!

If you desperately need a feel of that, implement an automatic
more-or-less seamless relaunch of your app. Save its state and restore
it automatically after the relaunch. With a good overall design, that's
a few source lines ;)
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSBundle and PlugIns
      • From: Frank Midgley <email@hidden>
References: 
 >NSBundle and PlugIns (From: Aidas Dailide <email@hidden>)
 >Re: NSBundle and PlugIns (From: Ondra Cada <email@hidden>)
 >Re: NSBundle and PlugIns (From: Jim Witte <email@hidden>)

  • Prev by Date: Re: NSBundle and PlugIns
  • Next by Date: Re: Are Bindings Redundant?
  • Previous by thread: Re: NSBundle and PlugIns
  • Next by thread: Re: NSBundle and PlugIns
  • Index(es):
    • Date
    • Thread