title: UISearchBar Filter UITableView with NSPredicate filter from array of dictionary with multiple Keys
body: <p>I am setting up a <code>UISearchBar</code> on <code>UITableView</code>. <code>UITableViewCell</code> has 3 <code>UIlabel</code> and data is in <code>NSArray</code> with Dictionaries in it with three keys <code>"name", "phone", "email"</code>
  I have filtered the table but it filters by name or email or phone 
  I want to filter with all three keys </p>
  
  <p>tried all NSCoumpound Predicate but failed 
  tried filter </p>
  
  <pre><code>extension CleanerListViewController: UISearchBarDelegate{
      func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
          let formatString = "(name contains[c] %@)"
          filterList = cleanerList.filter { NSPredicate(format: formatString, searchText).evaluate(with: $0) } as NSArray
  
          if searchText.count == 0{
              filterList = cleanerList
          }
          self.tblCleanerList.reloadData()
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/8WWPW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8WWPW.png" alt="ScreenShot"></a></p>
  
  <p>The only above code works for single keys 
  any help will be appreciated  please don't a negative vote</p>