I have created a controller class in which I have created a outlet to UITextfield. But The problem is that I am unable to get reference in the controller class, so unable to call any of textfield methods. The reference is returning null.
I have defined outlet (and connected them) properly to the text field in class but still not able to find the error.I am clean bowled !!
I have created a controller class in which I have created a outlet to
Share
Have You Adopted
“UITextFieldDelegate” Protocol in your “ViewController.h”..?.
If Not You need to Add that protocol inside the “< >” of your “ViewController.h”.
UITextFieldDelegate protocol contains various Method Declaration which called during the Various Event(begin text Editing,ended text Editing,).
For detail Information go Through this Link.