Re: Document-based apps interacting with main menu
Re: Document-based apps interacting with main menu
- Subject: Re: Document-based apps interacting with main menu
- From: Hannes Friederich <email@hidden>
- Date: Wed, 05 Feb 2003 15:25:51 +0100
In IB, you have to set the target of the menu to the FirstResponder.
Then, in the implementation of the document, you have to implement the
action message. NSDocument does for eks. Implement saveDocument:(id)sender
etc. So, AFAIK, the ResponderChain somewhere reaches NSDocument, but I don't
know exactly when (Haven't checked the documentation for a long time
either).
Probably it helps if you see inside the Documentation of the
Document-Architecture and the ResponderChain / Event messaging procedure.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.