An UISearchBar without the Search Display Controller

An UISearchBar without the Search Display Controller

Adding a searchbar without the Search Display Controller isn’t the preferred way to do it but it does the trick with less code and less hassle. The best part: you can do implement it in three easy steps.

First: Add the searchbar to the view with a Storyboard or programmatically
Secondly: Add the delegate to the searchbar and connect the outlet

Last but not least, implement the on change listener, filter the data and update the table.