Working on a login form with multiple fields.

When user click on **Next**/**Done**(Default buttons) button of keyboard, next text field should become a first responder.

`TextField` is in `UITableViewCell`. When user click on **Done** button, I fetch the next cell and make its text field as a first responder. But if next cell is not visible then next text field does not become first responder.

How to fix this problem?

```
func makeTextFieldFirstResponder(textField:UITextField) -> Bool {
    let row = textField.tag
    let indxPath = IndexPath(row: textField.tag + 1, section: 0)
    if let cell = tblEditViewDetail.cellForRow(at: indxPath) as? InputCell {
        cell.txtField.firstResponder()
    }
}

```