tags:

views:

24

answers:

2

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.

+1  A: 

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.

Barry Wark
A: 

You need to send the cut:, copy: and paste: messages to the First Responder from the "Sent Action" of the respective menu items.

Matt B.