• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSApplicationMain question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSApplicationMain question
      • From: Bill Appleton <email@hidden>
References: 
 >NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Abhinay Kartik Reddyreddy <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Shawn Erickson <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)
 >Re: NSApplicationMain question (From: Michael Ash <email@hidden>)
 >Re: NSApplicationMain question (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: Reason for menuNeedsUpdate notification?
  • Next by Date: Re: NSApplicationMain question
  • Previous by thread: Re: NSApplicationMain question
  • Next by thread: Re: NSApplicationMain question
  • Index(es):
    • Date
    • Thread