NSPredicate 过滤功能

NSPredicate *resultPredicate = [NSPredicate predicateWithFormat:@"self contains[cd] %@", iconName];

if ([_maIcons filteredArrayUsingPredicate:resultPredicate].count == 0) {

[_maIcons addObject:iconName];

}

上一篇:Efficient GPU Screen-Space Ray Tracing


下一篇:C# System.Collections