How do I make a delegate? I have a class called CustomSign. The class has a view associated with it. The view has 2 elements. A textfield and a uilabel. I want to copy the textfields data to the uilabel when you click the done button.
Here's my code in the CustomSign.m I don't know how to make it a delegate.
-(void)textFieldDidEndEditing:(UITextField *)textField {
[textField resignFirstResponder];
label.text = textField.text;
}