title: Filter Array with UISearchBar
body: <p>I am currently using the following code to filter the array and present the results in my tableView. The problem is that this only returns results if the search matches the exact word. How do I change my array filter to search each character as I type it?</p>
  
  <pre><code>let data = ["Mango", "Grape", "Berry", "Orange", "Apple"]
  
  var filteredData: [String] = []
  
  filteredData = data.filter({$0 == searchBar.text})
  </code></pre>
  
  <p>The only way to get "Mango" to show up in my tableView, I have to type Mango in the search bar, typing "Man" doesn't show any results. </p>