to remove building warning.
UITableView API adopted, <for:in> is pointless here.
we won't to call resignFirstResponder one by one, 'endEditing' is better here.
add pods to make sure build successfully.