What you need is UITextFieldDelegate
; you want to respond to user as he/she types in the textfield.
The UITextFieldDelegate
provides the following methods:
1. textFieldShouldBeginEditing:
2. textFieldDidBeginEditing:
3. textFieldShouldEndEditing:
4. textFieldDidEndEditing:
You need to conform to this protocol. When conformed, you'll receive the above mentioned call-back methods to updated the other View
s in your app.