更换无 alpha 的 icon
补充部分数组的安全读取
This commit is contained in:
BIN
YuMi/Assets.xcassets/AppIcon.appiconset/1024ï¼1024.png
Normal file
BIN
YuMi/Assets.xcassets/AppIcon.appiconset/1024ï¼1024.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
Binary file not shown.
Before Width: | Height: | Size: 40 KiB |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "1024*1024.png",
|
||||
"filename" : "1024ï¼1024.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
|
@@ -108,7 +108,7 @@
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
|
||||
[_pickerView selectRow: [_dataArray[i] indexOfObject:_selDateArray[i]] inComponent:i animated:YES];
|
||||
[_pickerView selectRow: [_dataArray[i] xpSafeObjectAtIndex:_selDateArray[i]] inComponent:i animated:YES];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -287,9 +287,8 @@
|
||||
if (timeArr.count == 3) {//需要显示传入的时间
|
||||
self.selDateArray = [timeArr mutableCopy];
|
||||
for (int i = 0; i < 3; i++) {
|
||||
[self.pickerView selectRow: [self.dataSourceArray[i] indexOfObject:self.selDateArray[i]] inComponent:i animated:YES];
|
||||
[self.pickerView selectRow: [self.dataSourceArray[i] xpSafeObjectAtIndex:self.selDateArray[i]] inComponent:i animated:YES];
|
||||
}
|
||||
|
||||
}
|
||||
self.ageView.text = [NSString stringWithFormat:@"%ld%@",[PLTimeUtil ageWithDateFromBirth:time*1000],YMLocalizedString(@"XPMineUserInfoDateView3")];
|
||||
// self.starView.text = [NSString stringWithFormat:@"%@%@",[NSString getCalculateConstellationTextWithMonth:time*1000],YMLocalizedString(@"XPMineUserInfoDateView4")] ;
|
||||
|
@@ -115,9 +115,9 @@
|
||||
if(indexPath.row < self.itemList.count){
|
||||
if (indexPath.row == 0) {
|
||||
cell.rankAvatarsModelArray = self.rankAvatars;
|
||||
cell.itemModel = self.itemList[indexPath.row];
|
||||
cell.itemModel = [self.itemList xpSafeObjectAtIndex:indexPath.row];
|
||||
} else {
|
||||
cell.itemModel = self.itemList[indexPath.row];
|
||||
cell.itemModel = [self.itemList xpSafeObjectAtIndex:indexPath.row];
|
||||
}
|
||||
}
|
||||
@kWeakify(self);
|
||||
|
Reference in New Issue
Block a user