Bundles as plugins
Bundles as plugins
- Subject: Bundles as plugins
- From: David Newberry <email@hidden>
- Date: Sat, 2 Mar 2002 18:27:38 -0800
Hello all,
I'm working on making an app that will use Cocoa bundles as plugins. The
only thing I haven't been able to do is have the plugin put up a window of
its own. Is this even possible? What I tried doing was giving the bundle a
nib file and a window with a window controller. I call the plugin method
and it does it's little thing (for the test, it simply returns the number
5), but it doesn't display the window. (To elevate anybody's fear, the
code to show the window /is/ before the "return" statement.) Is displaying
a window from a dynamically loaded bundle not allowed? Perhaps I should
implement a mechanism that has the bundle pass a reference to its
WindowController back to the main app to display? ...Or something else?
Thanks,
-David Newberry
_______________________________________________
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.