更换方法名:safeObjectAtIndex1 -> xpSafeObjectAtIndex

This commit is contained in:
eggmanQQQ
2024-06-16 16:18:06 +08:00
parent 384bc3e95c
commit 49d17e1c6f
210 changed files with 529 additions and 527 deletions

View File

@@ -195,7 +195,7 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
-(void)headerRefresh{
[self initHttp];
PIHomeCategoryTitleModel *tagModel = [self.tagModelList safeObjectAtIndex1:self.type];
PIHomeCategoryTitleModel *tagModel = [self.tagModelList xpSafeObjectAtIndex:self.type];
XPHomePartyViewController *homeVC = [self.validListDict objectForKey:[NSNumber numberWithInteger:self.type]];
homeVC.tagModel = tagModel;
}
@@ -332,7 +332,7 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
return homeV;
}
XPHomePartyViewController *homeVC = [[XPHomePartyViewController alloc] init];
homeVC.tagModel = [self.tagModelList safeObjectAtIndex1:index];
homeVC.tagModel = [self.tagModelList xpSafeObjectAtIndex:index];
[self.validListDict setObject:homeVC forKey:@(index)];
return homeVC;
}