Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 223
hockeyman Avatar asked Jan 16 '13 15:01

hockeyman


2 Answers

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.

like image 119
nrj Avatar answered Oct 07 '22 00:10

nrj


This is a bug in Xcode, it doesn't see the redo: action even though it is there. As a workaround you can create a custom action redo: for making the connection.

See my Radar here: http://www.cocoanetics.com/2013/01/radar-interface-builders-first-responder-is-missing-some-editing-actions/

like image 20
Cocoanetics Avatar answered Oct 06 '22 23:10

Cocoanetics