You need to have a link to the text box in your file CustomSign.m. This can be either an output, which you then connect to Interface Builder, or you can directly refer to a text field if you create it programmatically.
-setDelegate: , :
- (void)awakeFromNib
{
[textField setDelegate:self];
}
Interface Builder .
, -resignFirstResponder .