标签:
NSMutableArray *newhealthArr = [NSMutableArray new];
NSArray *healthTitleArr = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"HealthTitlePlist.plist" ofType:nil]];
if ([model.titleStr isEqualToString:@"健康信息"])
{
NSMutableArray *arr = [NSMutableArray new];
NSArray *ifnArr = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"健康信息.plist" ofType:nil]];
for ( NSString *str in ifnArr)
{
for (PersonalIfnDetailModel *detailModel in model.contentArr)
{
if ([detailModel.keyStr isEqualToString:str])
{
[arr addObject:detailModel];
}
}
}
[model.contentArr removeAllObjects];
[model.contentArr addObjectsFromArray:arr];
标签:
原文地址:http://www.cnblogs.com/yyj900165/p/4951972.html