No callback when clicking menu item
问题 I'm trying to implement a simple context menu in my FinderSync extension. I built the following using some examples, and my problem is that the callback is never called when I click the menu item. Source code: ContextMenuHelper.h #import <Foundation/Foundation.h> #include "FinderSync.h" @interface ContextMenuHelper : NSObject + (NSMenu *)buildMenu; @end ContextMenuHelper.m #import "ContextMenuHelper.h" #define SharedContextMenuTarget [ContextMenuTarget sharedInstance] @interface