Re: Calling Cocoa UI from Carbonized Plug-in
Re: Calling Cocoa UI from Carbonized Plug-in
- Subject: Re: Calling Cocoa UI from Carbonized Plug-in
- From: Eric Schlegel <email@hidden>
- Date: Tue, 31 Jul 2001 09:08:02 -0700
On Tuesday, July 31, 2001, at 08:55 AM, Richard Collyer wrote:
Guru's out there,
I am working with a large Carbonized application which supports a
plug-in architecture. Getting the plug-ins to carbon has not been too
hard. However, I REALLY like the Cocoa framework and using it to deal
with the UI.
So my question is, how do I call a Cocoa UI code (library,
segment, ???) from a Carbonized plug-in (does not use CFPlugin). I
want the windowing and event handeling of a Cocoa Application, but I
don't need the menu.
I think you're unlikely to make that work. Carbon and Cocoa both like to
run their own event loop, and it's difficult to mix them. If your host
app is Carbonized, I'd stick with Carbon for your UI.
-eric