IOS Knowledge Pot

Tuesday, 21 January 2014

Filtering an Array of Dictionary Objects.

NSMutableArray *searchArray;// An Array of NSDictionary Objects
NSString *searchString;
NSString *dictKey;
NSArray *resultArray = [searchArray filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"%@ ==%@",dictKey,searchString]];
Posted by Unknown at 01:07
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2016 (1)
    • ►  February (1)
  • ►  2015 (26)
    • ►  December (1)
    • ►  November (2)
    • ►  October (3)
    • ►  September (7)
    • ►  August (5)
    • ►  July (1)
    • ►  June (4)
    • ►  April (2)
    • ►  March (1)
  • ▼  2014 (55)
    • ►  November (4)
    • ►  October (2)
    • ►  September (1)
    • ►  July (7)
    • ►  June (4)
    • ►  May (10)
    • ►  April (6)
    • ►  March (8)
    • ►  February (6)
    • ▼  January (7)
      • Spilt ViewController [MenuViewController+DetailedV...
      • Different Types of Attributed Text ( NSAttributedS...
      • Filtering an Array of Dictionary Objects.
      • Hash defining AppDelegate Object and App Document ...
      • Locale Date String from Time Interval
      • Taking screenshot programmatically in iOS 7
      • Show text on status bar
  • ►  2013 (16)
    • ►  November (4)
    • ►  October (2)
    • ►  September (10)
Simple theme. Powered by Blogger.