Re: Sample Cocoa code to show how to launch a doc by sliding its icon into appl icon
Re: Sample Cocoa code to show how to launch a doc by sliding its icon into appl icon
- Subject: Re: Sample Cocoa code to show how to launch a doc by sliding its icon into appl icon
- From: "Frederick C. Lee" <email@hidden>
- Date: Thu, 7 Jul 2005 13:58:22 -0700
I've solved my original error:
@implementation ParseWindowController (_private)
- (BOOL)application:NSApp openFile:(NSString *)filename {
NSLog(@"{openFile} Hello Ric!");
return TRUE;
}
...via using 'NSApp' as my application. Make Sense.
So I don't have a runtime error.
-----
But I still can't launch the application via sliding the doc into the
application icon.
It's not a super critical thing for me, but it would be nice to find
a solution.
Thanks for your effort; it points me to possible solution if I dig
deeper into it.
Regards,
Ric.
On Jul 7, 2005, at 6:04 PM, Shoaib wrote:
You need to implement the following NSApplication delegate method
in your Controller class:
- (BOOL)application:(NSApplication *)theApplication openFile:
(NSString *)filename
Regards,
Shoaib Hannani
xhead software, llc
http://www.xheadsoftware.com
Greetings:
Simple quest: Where can I find an example showing how to
launch a doc/info by sliding it into a application icon for
processing. Regards, Ric.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40xheadsoftware.co m This email sent to email@hidden
_______________________________________________
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