I have a text box, and ctrl+clicked to the .h, and made an outlet and called it usernameTextField. So I'm not even typing out the property - xcode is doing it for me. Here is the text:
@property (weak, nonatomic) IBOutlet UITextField *usernameTextField;
When I try to run the program, it gives me this error -
Terminating app due to uncaught exception 'NSUnknownKeyException', reason:
'[<drawKitViewController 0x12fd0aff0> setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key usernameTextField.'
So what am I doing wrong?