Rick Mann
2018-07-05 02:08:02 UTC
I'm writing a new macOS app. I started with the document-based app template (no core data). I have a custom window controller, and a hierarchy of custom NSViewControllers embedded in a split view controller (I even subclassed the split view controller).
I have a simple IBAction method that logs a debugging message, and I try to send that action from a menu item to the first responder. I want to implement that method in one of my view controllers, but it never seems to get called. I've tried adding the method to every view controller, the window controller, and the app delegate, but it never gets called. However, if I connect the menu item to the app delegate, it gets called.
What am I doing wrong?
Thanks.
--
Rick Mann
***@latencyzero.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-***@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/gegs%40ml-in.narkive.net
This email sent to ***@ml-in.narkive.net
I have a simple IBAction method that logs a debugging message, and I try to send that action from a menu item to the first responder. I want to implement that method in one of my view controllers, but it never seems to get called. I've tried adding the method to every view controller, the window controller, and the app delegate, but it never gets called. However, if I connect the menu item to the app delegate, it gets called.
What am I doing wrong?
Thanks.
--
Rick Mann
***@latencyzero.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-***@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/gegs%40ml-in.narkive.net
This email sent to ***@ml-in.narkive.net