NSPredicate *predicate = [NSPredicate predicateWithFormat:@"accountId == %@", snUser.accountId];
NSArray *filteredArray = [userList filteredArrayUsingPredicate:predicate];
iOS数组中查找对象
最新推荐文章于 2022-10-25 15:57:04 发布
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"accountId == %@", snUser.accountId];
NSArray *filteredArray = [userList filteredArrayUsingPredicate:predicate];