connecting open-print-save-quit... to methods
connecting open-print-save-quit... to methods
- Subject: connecting open-print-save-quit... to methods
- From: Paolo Bertani <email@hidden>
- Date: Fri, 12 May 2006 08:31:09 +0200
Hi,
I'm writing a single window application.
I need to connect the standard items of the "File"'s menu to
appropriate methods.
Should I conncect them directly to IBActions in my controller class
or should I implement NSApplication's delegates such as
application:openFile, application:printFile,
applicationShouldTerminate....?
I dont see a delegate for save...
Also, I suppose I have to enable-disable those menu items
programmatically at approriate times. Do I connect them to outlets in
my controller class and enable/disable them directly?
Thank you,
Paolo.
_______________________________________________
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