Hi,

Riccardo Mottola wrote:

I think we are missing the delegate method "application:openFiles:" of NSApplication, available since 10.3

What I want is be able to handle an application launched with two files:

myApp.app file1 file2

How was this handled before in 10.2 and openstep? I'm curious.

I think I can add the method in the NSApplication quite easily by copying the openFile: and wrapping the arguments in an Array. What do you think?

Actually I have noticed that we don't have these methods in NSApplication, but in NSDocumentController.

I want to implement this delegate method in my own application, but I don't get the notification at all and I am wondering where it should be launched.

Riccardo

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to