title: filter NSArray with NSDictionary by int value
body: <p>I have the following NSArray:</p>
  
  <pre><code>(
          {
          establecimiento = 15;
          internet = 500;
      },
          {
          establecimiento = 0;
          internet = 1024;
      },
          {
          establecimiento = 24;
          internet = 300;
      }
  )
  </code></pre>
  
  <p>And I need to filter the array for <code>establecimiento &lt; 10</code>.</p>
  
  <p>I'm trying this:</p>
  
  <pre><code>NSPredicate *predicate = [NSPredicate predicateWithFormat:@"establecimiento = %@", [NSNumber numberWithInt:self.establecimientoFiltro]];
  </code></pre>
  
  <p>where <code>self.establecimientoFiltro</code> is an int with value: 10</p>
  
  <p>But I have as result an empty array.</p>
  
  <p>Hope to be clear with my question and thank you in advance for your answers.</p>
  
  <p>Regards,
  Victor</p>