Re: Switching between window controllers in code ?
Re: Switching between window controllers in code ?
- Subject: Re: Switching between window controllers in code ?
- From: Jens Alfke <email@hidden>
- Date: Mon, 20 Aug 2012 21:15:38 -0700
On Aug 20, 2012, at 8:53 PM, Erik Stainsby <email@hidden> wrote:
> My app has two windows, ergo two windowControllers. I would like to toggle between them from a single menu item, ergo a single method handler. However that requires that the two window controllers have a common ancestor(?) in the responder chain. That let's appDelegate out, not a responder object.
Just wire the menu command directly to the app delegate object, instead of to First Responder.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden