Posted By

rabc on 08/18/10


Tagged

iphone NSPredicate NSArray


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

shimdh
umang_nine
bobbym245
cnathan


Filter array using NSPredicate


 / Published in: Objective C
 

URL: http://stackoverflow.com/questions/3503141/nsdictionary-filtering-and-sorting/3503217#3503217

Snippet from a question I answered in StackOverflow.

  1. NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(issue_id == %i)", 2];
  2. NSArray *newArray = [youDictionaryArray filteredArrayUsingPredicate:predicate];

Report this snippet  

You need to login to post a comment.