• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
connecting open-print-save-quit... to methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Converting an HTML source string to a readable string
  • Next by Date: Re: Converting an HTML source string to a readable string
  • Previous by thread: Re: Converting an HTML source string to a readable string
  • Next by thread: Core Data & File Wrappers
  • Index(es):
    • Date
    • Thread