Re: Bundles as plugins
Re: Bundles as plugins
- Subject: Re: Bundles as plugins
- From: Rosyna <email@hidden>
- Date: Sat, 2 Mar 2002 21:27:50 -0700
[window makeKeyAndOrderFront:nil]; ?
Works for me ;) Plugins in OS X can do anything they want it seems.
At least... if they agree with the Host's event loop (Carbon event
loops don't seem to be able to show NSWindows correctly, although
I've never tried it.)
Ack, at 3/2/02, David Newberry said:
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?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insane People
---
Please include any previous correspondence in replies, it helps me
remember what you're talking about. Thanks.
_______________________________________________
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.