On 2012-08-20, at 9:15 PM, Jens Alfke <j...@mooseyard.com> wrote:

> 
> On Aug 20, 2012, at 8:53 PM, Erik Stainsby <erik.stain...@roaringsky.ca> 
> 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

Okay so that is working fine, but isn't that a venal sin in Cocoa programming?

~ Erik
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to