Re: NSBundle and PlugIns
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.