更换方法名:safeObjectAtIndex1 -> xpSafeObjectAtIndex
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user