|
From: | Wolfgang Lux |
Subject: | Re: open recent in renaissance? |
Date: | Thu, 13 May 2010 20:26:18 +0200 |
Tim Schmielau wrote:
Now I just have to figure out how to make those menu entries send openFile: messages...
You don't want to do that. The menu is managed by NSDocumentController, so assuming that your application is document based, the document controller will handle opening for you (just as if the user had selected the file via the open panel). On the other hand, if your application is not document based you are rolling on your own and should manage the whole menu yourself. The fact that the menu may be populated for non-document based applications at present is just an artifact of a (somewhat) poor implementation on my side, which is subject to change.
Wolfgang
[Prev in Thread] | Current Thread | [Next in Thread] |