FirstResponder missing redo:
问题 Why my FirstResponder in InterfaceBuilder's file is missing redo: connection (in Received Actions list)? undo: exists, but redo: doesn't. How could I fix it? 回答1: This is a bug. The workaround is to throw this in a file somewhere: @interface NSResponder (Redo) - (IBAction)redo:(id)sender; @end Then make your connection in Interface Builder. Once that is done you can delete this code. 回答2: This is a bug in Xcode, it doesn't see the redo: action even though it is there. As a workaround you can