Skip to content

Commit

Permalink
FIX: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zy9 committed Jun 22, 2017
1 parent 277de20 commit 44d079e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Docs/ProGuide_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ YTKBatchRequest 类:用于方便地发送批量的网络请求,YTKBatchReque
## 定制 `buildCustomUrlRequest`
通过覆盖 `buildCustomUrlRequest` 方法,返回一个 `NSUrlRequest` 对象来达到完全自定义请求的需求。该方法定义在 `YTKBaseRequest` 类,如下:
通过覆盖 `buildCustomUrlRequest` 方法,返回一个 `NSURLRequest` 对象来达到完全自定义请求的需求。该方法定义在 `YTKBaseRequest` 类,如下:
```objectivec
// 构建自定义的 UrlRequest,
Expand Down
2 changes: 1 addition & 1 deletion Docs/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ YTKNetwork 的基本的思想是把每一个网络请求封装成对象。所以
* 方便在基类中处理缓存逻辑,以及其它一些公共逻辑。
* 方便做对象的持久化。

当然,如果说它有什么不好,那就是如果你的工程非常简单,这么写会显得没有直接用 AFNetworking 将请求逻辑写在 Controller 中方便,所以 YTKNetwork 并不合适特别简单的项目
当然,如果说它有什么不好,那就是如果你的工程非常简单,这么写会显得没有直接用 AFNetworking 将请求逻辑写在 Controller 中方便,所以 YTKNetwork 并不适合特别简单的项目

## 安装

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ YTKNetwork

## What

YTKNetwork is is a high level request util based on [AFNetworking][AFNetworking]. It's developed by the iOS Team of YuanTiKu. It provides a High Level API for network request.
YTKNetwork is a high level request util based on [AFNetworking][AFNetworking]. It's developed by the iOS Team of YuanTiKu. It provides a High Level API for network request.

YTKNetwork is used in all products of YuanTiKu, including: [YuanTiKu][YuanTiKu], [YuanSoTi][YuanSoTi], [YuanFuDao][YuanFuDao], [FenBiZhiBoKe][FenBiZhiBoKe].

Expand Down
2 changes: 1 addition & 1 deletion YTKNetwork/YTKNetworkPrivate.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ + (NSString *)md5StringFromString:(NSString *)string {

NSMutableString *outputString = [[NSMutableString alloc] initWithCapacity:CC_MD5_DIGEST_LENGTH * 2];
for(NSInteger count = 0; count < CC_MD5_DIGEST_LENGTH; count++){
[outputString appendFormat:@"%02x",outputBuffer[count]];
[outputString appendFormat:@"%02x", outputBuffer[count]];
}

return outputString;
Expand Down

0 comments on commit 44d079e

Please sign in to comment.