title: Filtering NSArray of NSDictionary based on a dictionary key
body: <p>I have a NSArray of NSDictionary and I want to filter out a specific dictionary from it. With my below code I am getting nil matchedDicts. Am I doing something wrong?</p>
  
  <pre><code>NSPredicate *p = [NSPredicate predicateWithFormat:@"locationID = %@", @"949"];
  NSArray *matchedDicts = [aLocationsList filteredArrayUsingPredicate:p];
  
  {
      locationID = 2023;
      locationName = "Customer";
      sortOrder = 0;
  },
  {
      locationID = 2024;
      locationName = "My Loc";
      sortOrder = 1;
  },
  {
      locationID = 949;
      locationName = "His Loc";
      sortOrder = 2;
  }
  )
  </code></pre>