I want to implement an NSSearchField showing search results similar to Safari, but I cannot figure out how to display the menu programmatically. Any pointers would be greatly appreciated.
Update: I tried to do this programmatically by calling @ -performClick: @ in the @NSButtonCell @ object, which represents the search button inside the search field's search box cell, but so far I have confirmed that the executeClick function is actually called, call the menu.
source
share