我可以将 NSPredicate 应用于与日期对应的字典数据的过滤器数组吗?
NSPredicate *betweenPredicate =[NSPredicate predicateWithFormat: @"attributeName BETWEEN %@", @[@1, @10]];
NSDictionary *dictionary = @{ @"attributeName" : @5 };
BOOL between = [betweenPredicate evaluateWithObject:dictionary];
if (between)
{
NSLog(@"between");
}