Re: NSApplicationMain question
Re: NSApplicationMain question
- Subject: Re: NSApplicationMain question
- From: Jens Alfke <email@hidden>
- Date: Fri, 23 Apr 2010 09:00:28 -0700
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 (email@hidden)
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:
This email sent to email@hidden