Get file argument
Get file argument
- Subject: Get file argument
- From: Andreas Falkenhahn <email@hidden>
- Date: Sun, 04 Sep 2016 13:56:14 +0200
When double-clicking a document file that is to be opened with my app,
the path to this file isn't passed in argv[] but can be obtained by
implementing "openFile" in the NSApplicationDelegate.
Is there also a way to get the file argument without having an NSApp,
i.e. can my program somehow obtain the file argument *before* creating
the NSApp object or is that impossible?
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
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