NASpplication delegate openFile:
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