title: How to grab a plist item based on a conditional statment?
body: <p>If I'm grabbing the data in a plist using:</p>
  
  <pre><code>NSString *path = [[NSBundle mainBundle] pathForResource:@"Providers" ofType:@"plist"];
  dataArray = [NSMutableArray arrayWithContentsOfFile:path];
  for (NSDictionary *dictionary in dataArray)
  {
      text = [dictionary valueForKey:@"text"];
      checked = [dictionary valueForKey:@"checked"];
      NSLog(@"%@ checked value is: %@", text, checked);
  }
  </code></pre>
  
  <p>How might I go about writing a conditional statement that checks to see only if <strong>checked</strong> is set to <strong>YES</strong> and if so output the text value of the providers</p>