Learn how to create custom UISearchBar using UITextField to search list of records showing in UITableView in swift 4. We will search records when user click on search button in the keyboard. And then re-populate the UITableView when user click on clear or cancel button of UITextField acting as our custom UISearchBar. Tutorial is written in swift4 language and Xcode version is 9.2
Source code: http://bit.ly/2JppjaB