title: Filtering array of dictionaries in Swift
body: <p>I have An Array With Dictionaries example :</p>
  
  <pre><code>(
          {
          Email = "kate-bell@mac.com";
          Name = "Kate Bell";
          Number = "(555) 564-8583";
      },
          {
          Email = "d-higgins@mac.com";
          Name = "Daniel Higgins";
          Number = "555-478-7672";
      }
  )
  </code></pre>
  
  <p>And i want to filter this dictionary according to Key "Name" </p>
  
  <pre><code> func searchBar(searchBar: UISearchBar, textDidChange searchText: String) {
      let predicate = NSPredicate(format:"Name == %@", searchText)
      let filteredArray = (arrContact as NSMutableArray).filteredArrayUsingPredicate(predicate)
      print(filteredArray)
      if(filteredArray.count == 0){
                  searchActive = false;
              } else {
                  searchActive = true;
              }
              tblData.reloadData()
   }
  </code></pre>
  
  <p>I am always getting empty array in result from above swift code. Please help me to resolve this issue. Thanks</p>