Sample code using Searchbar in Swift