jjzjj

initWithType

全部标签

objective-c - 用另一个数组过滤的数组(CS 和谓词)

下面的代码打印下面一行:TestApp[1156:207]Array:("TypeA")但这是不对的。NSPredicate应该忽略大小写敏感。有谁知道我做错了什么?NSArray*array=[[NSArrayalloc]initWithObjects:[[TestObjectalloc]initWithType:@"TypeA"],[[TestObjectalloc]initWithType:@"TypeB"],[[TestObjectalloc]initWithType:@"TypeC"],[[TestObjectalloc]initWithType:@"TypeD"],[[Te