根据对象的某个属性过滤数组! (根据srcArr中的对象的属性 name过滤数组), 对应的语法还有 (BETWEEN,IN,BEGINWITH,ENDWITH,CONTAINS,LIKE)
NSPredicate *filterPredicate = [NSPredicate predicateWithFormat:@"self.name CONTAINS %@", textStr];
NSArray *filteredRecentSearches = [srcArr filteredArrayUsingPredicate:filterPredicate];