Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3bbef61

Browse files
增加最新修改的百度网盘地址
1. 修改细小逻辑 2. 新增数据源无数据的空白占位视图,CMHEmptyDataView.h/m ,示例程序`Example17` 3. 新增封装AFNetworking的请求工具类,CMHHTTPService.h/m ,示例程序`Example18`
1 parent a057a38 commit 3bbef61

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎MHDevelopExample/MHDevelopExample/Architecture/Utils/Service/HTTP/CMHHTTPService.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ - (NSURLSessionDataTask *)_enqueueRequestWithPath:(NSString *)path
192192
/// 失败解析
193193
void (^failureParse)(NSURLSessionDataTask *_Nullable, NSError *) = ^(NSURLSessionDataTask * _Nullable task, NSError *error){
194194
@strongify(self);
195+
[self _parsedErrorWithTask:task
196+
error:error
197+
parameters:parameters
198+
failure:failure];
195199

196200
};
197201

@@ -440,8 +444,6 @@ - (void)_parsedErrorWithTask:(NSURLSessionDataTask *)task
440444
!failure ? : failure(task , parsedError);
441445
}
442446

443-
444-
445447
/// 解析错误信息
446448
- (NSError *)_parsingErrorWithFailureReason:(NSString *)localizedFailureReason {
447449
NSMutableDictionary *userInfo = [NSMutableDictionary dictionary];

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
$ sudo gem update --system
2929
$ sudo gem install cocoapods -n/usr/local/bin
3030
```
31-
-`pod install`很漫长或有问题,请戳百度网盘链接:https://pan.baidu.com/s/1grKJVITsm1D65MgjRk7d1g 密码:7xg2 <PS:不定期更新!!!>
31+
-`pod install`很漫长或有问题,请戳百度网盘链接:https://pan.baidu.com/s/1fvc5-LG9PJESyfbWYeBjrA 密码:44ue <PS:不定期更新!!!>
3232

3333
### 期待
3434
- 如果在使用过程中遇到BUG,希望你能Issues我,谢谢(或者尝试下载最新的代码看看BUG修复没有)。

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /