Commit a9016a7a cgx

新增官方动态展开收拢,数据容错处理

1 个父辈 db7ca586
...@@ -3233,7 +3233,7 @@ ...@@ -3233,7 +3233,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 5; CURRENT_PROJECT_VERSION = 7;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
...@@ -3316,7 +3316,7 @@ ...@@ -3316,7 +3316,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5; CURRENT_PROJECT_VERSION = 7;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
...@@ -3459,7 +3459,7 @@ ...@@ -3459,7 +3459,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements; CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 5; CURRENT_PROJECT_VERSION = 7;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW; DEVELOPMENT_TEAM = 4NDZ6UX8PW;
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
cell.model = model; cell.model = model;
cell.showAllContentBlock = ^{ cell.showAllContentBlock = ^{
[weakSelf.comListVM showOfficialAllContent]; [weakSelf.comListVM showOfficialAllContent];
[weakSelf.listView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationNone]; [weakSelf.listView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade];
}; };
return cell; return cell;
} else { } else {
......
...@@ -114,9 +114,6 @@ ...@@ -114,9 +114,6 @@
} }
- (void)showAllContent { - (void)showAllContent {
if (self.model.isShowAllContent) {
return;
}
if (self.showAllContentBlock) { if (self.showAllContentBlock) {
self.showAllContentBlock(); self.showAllContentBlock();
} }
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
*stop = YES; *stop = YES;
} }
}]; }];
if (hasOfficialModel == NO) { if (hasOfficialModel == NO && self.resultModel.officialMessageModel) {
[newList insertObject:self.resultModel.officialMessageModel atIndex:0]; [newList insertObject:self.resultModel.officialMessageModel atIndex:0];
} }
self.isOfficial = self.resultModel.officialMessageModel; self.isOfficial = self.resultModel.officialMessageModel;
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
} }
- (void)showOfficialAllContent { - (void)showOfficialAllContent {
self.resultModel.officialMessageModel.isShowAllContent = YES; self.resultModel.officialMessageModel.isShowAllContent = !self.resultModel.officialMessageModel.isShowAllContent;
} }
- (void)insertUserDyModel:(ComDynModel *)dyModel { - (void)insertUserDyModel:(ComDynModel *)dyModel {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!