• 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
NASpplication delegate openFile:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NASpplication delegate openFile:


  • Subject: NASpplication delegate openFile:
  • From: Camille GOUREAU-SUIGNARD <email@hidden>
  • Date: Sat, 10 Dec 2005 09:13:06 +0100

Hi,

I've got problem using:
- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename

I try to determine when my app is launched due to double click on a saved document.
When I do that, the app is launched, and the following methods of my app delegate are called in this order:

init, awakeFromNib, applicationDidFinishLaunching.
openFile is never called in this case. it is only called whezn I drag and drop a saved file on the dock's app icon.

Any idea.

Many thanks.

Camille

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: NSObject Exercise comments?
  • Next by Date: CoreData document based app with single source
  • Previous by thread: Re: NSObject Exercise comments?
  • Next by thread: CoreData document based app with single source
  • Index(es):
    • Date
    • Thread