discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplication openFiles


From: Riccardo Mottola
Subject: Re: NSApplication openFiles
Date: Thu, 02 Aug 2012 17:27:19 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120715 Firefox/14.0.1 SeaMonkey/2.11

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]