By using this view we can place single line text content.
When we are working UITextfield we require to implement UITextfieldDelegate methods.
When we are editing UITextfield data then automatically keyboard will appear.
UITextField propertie’s are.
textFieldShouldReturn method will call when we click on return button of keyboard.
textFieldShouldBegingEditing will call when editing is started.
textFieldShouldEndEditing is called when editing is finished.
To hide the keyboard on any textField then we need to call resignFirstResponder method.
When we require to focus on any one of the text field then recommended to go for becomeFirstResponder method.
when we require to create non editable textField we doesn’t having any properties so, we required to hide the keyboard when user touches the specific textField.(in this case we can disable userInteraction aslo).