uitableview - iOS Swift: Refresh table view but not footer -
i have tableview custom footer view. footer view search box filtering tableview. on each keystroke table data changing , update tableview accordingly. problem if use reloaddata()
lose state of search box , keyboard dismissed. tried use reloadrowsatindexpaths
because table data changing , total number of rows being reduced exception when try reload row doesn't exist anymore.