• 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: Determining startup AppleEvents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining startup AppleEvents


  • Subject: Re: Determining startup AppleEvents
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 23 Jun 2008 10:18:15 -0700


On 23 Jun '08, at 1:04 AM, Mike wrote:

Is there a way in Cocoa to determine if the application was launched with or without an initial AppleEvent?

That's what -applicationDidFinishLaunching: is for. It's called after any initial AppleEvents are dispatched. So if you reach that method, and you haven't been informed of any AppleEvents (via NSApplication delegate methods or NSAppleEvent callbacks), you know that none were sent.


—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


References: 
 >Determining startup AppleEvents (From: Mike <email@hidden>)

  • Prev by Date: OT: code signing
  • Next by Date: Re: Newbie pulling my hair out regarding a simple xcode issue. Please help :-)
  • Previous by thread: Determining startup AppleEvents
  • Next by thread: Code signing and bundle layout
  • Index(es):
    • Date
    • Thread