feat: 更新 Bridging Header 和错误信息文件以支持新模型
主要变更: 1. 在 Bridging Header 中添加了对 PIBaseModel 和 MomentsInfoModel 的引用,以支持新的数据模型。 2. 更新了 error message.txt 文件,增加了详细的编译错误信息,帮助开发者快速定位问题。 3. 在 .gitignore 中添加了 error message.txt,以避免将错误信息文件纳入版本控制。 此更新旨在提升代码的可维护性和调试效率,确保新模型的顺利集成。
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
|
||||
@kWeakify(self);
|
||||
[self.api fetchLatestMomentsWithNextID:self.nextID
|
||||
completion:^(NSArray<MomentsInfoModel *> *list, NSString *nextMomentID) {
|
||||
completion:^(NSArray<MomentsInfoModel *> * _Nonnull list, NSString * _Nonnull nextMomentID) {
|
||||
@kStrongify(self);
|
||||
[self endLoading];
|
||||
if (list.count > 0) {
|
||||
@@ -107,7 +107,7 @@
|
||||
[self.tableView.mj_footer endRefreshing];
|
||||
}
|
||||
}
|
||||
} failure:^(NSInteger code, NSString *msg) {
|
||||
} failure:^(NSInteger code, NSString * _Nonnull msg) {
|
||||
@kStrongify(self);
|
||||
[self endLoading];
|
||||
// TODO: 完全没有数据情况下,后续补充数据异常页面
|
||||
|
Reference in New Issue
Block a user