hi jens

you are right about all of that except we also run in "stand alone"
application mode, and we also have floating palettes and scripting windows
(etc) in developer mode in the browser

(i'm the guy who wrote supercard if that explains anything to the
old-timers)


thx

bill




On Fri, Apr 23, 2010 at 9:00 AM, Jens Alfke <j...@mooseyard.com> wrote:

>
> On Apr 23, 2010, at 7:08 AM, Bill Appleton wrote:
>
> > so i have made a lot of efforts to learn cocoa, but our product is an
> NPAPI browser plugin
>
> Whoa, hold on, stop the music —
>
> That changes things. You’re not writing an app, then. So you have no
> NSApplicationMain. You’re just writing a bundle with the same NPAPI entry
> points, which will be loaded and called by an already-running browser app.
> There shouldn’t be much Cocoa code needed at all, I would guess — mostly
> you’d be getting the CG context out of the view you’re told to draw into,
> and using Quartz calls to draw into that.
>
> I can’t really help you in more detail because I have no experience writing
> browser plugins. The WebKit development list might be more useful, since
> this is not typical Cocoa programming...
>
> —Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to