On 12.02.2017 at 21:29 Kyle Sluder wrote:

> You’ve wired up every single menu item to a single action in your app
> delegate? That’s certainly non-standard.

It's really old code. It's an Xcode project I originally created on a
PowerPC Mac some 10 years ago, so I don't really remember how I used
Interface Builder back then. All I see is that every single menu item
has an entry under "Sent Actions" that links to "AppDelegate: menuClick".
The menu events are then processed in the "menuClick" method of my
app delegate.

> By default, menus automatically enable/disable their items based on
> whether the target can perform the action. Perhaps your app delegate is
> being deallocated, and thus the menu is walking the responder chain and
> failing to find a responder that responds to -menuClick:?

But how can that possibly happen? I'm certainly not deallocating the
app delegate myself...

-- 
Best regards,
 Andreas Falkenhahn                            mailto:andr...@falkenhahn.com


_______________________________________________

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