I can't copy or paste any text on nstextfield after deleted edit menu item on Interface Builder. I've re-added edit menu item but still can't. Anyone know how to fix it ?
Thanks in advance.
I can't copy or paste any text on nstextfield after deleted edit menu item on Interface Builder. I've re-added edit menu item but still can't. Anyone know how to fix it ?
Thanks in advance.
You need to reconnect the menu items to a target. In this case, connecting the selector
property of the item to the First Responder's appropriate action method will do the trick.
You need to send the cut:
, copy:
and paste:
messages to the First Responder from the "Sent Action" of the respective menu items.