Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increases a single network request in batchRequest for a successful or failed callback #415

Open
wants to merge 25 commits into
base: changelog
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
cfabe70
ADD: reset manager with custom configuration
ll128 Sep 26, 2016
7c3e604
MOD: bump version to 2.0.2
ll128 Sep 26, 2016
3bda051
ADD: github template
skyline75489 Oct 15, 2016
2dae897
ADD: pull request template
skyline75489 Oct 15, 2016
ef2cf80
MOD: better expression
skyline75489 Oct 16, 2016
c9fb60c
MOD: update issue template
skyline75489 Oct 16, 2016
63374a9
MOD: some expression
skyline75489 Oct 16, 2016
87f1f23
MOD: separate test dir
Oct 17, 2016
f479e0e
MOD: move urlString:appendParameter away from main project, fix #239
Oct 17, 2016
923a2bd
MOD: add more assertions, refine logic
Oct 17, 2016
c2feda5
Merge pull request #255 from yuantiku/changelog
maojj Oct 18, 2016
3fbe22c
Merge pull request #258 from skyline75489/github-template
maojj Oct 18, 2016
ba46931
MERGE: merge dev_2.0.0 to master
Oct 18, 2016
277de20
FIX: Download task exist file overwrite and cleanup if fail.
lancy Nov 2, 2016
44d079e
FIX: typo
zy9 Jun 22, 2017
efb9c69
FIX: Save resume data at request cancel.
songzeyao Dec 13, 2016
0f734a1
FIX: typo
skyline75489 Sep 2, 2017
2a93b21
Merge pull request #292 from songzeyao/master
lancy Sep 4, 2017
6089772
Merge pull request #381 from skyline75489/fix/279
lancy Sep 4, 2017
c2effae
Merge pull request #354 from zy9/fix-typo
lancy Sep 4, 2017
b6f58a1
FIX: 2.0_MigrationGuide_cn.md
Huang-Libo May 15, 2017
b84d86b
Merge pull request #339 from Huang-Libo/patch-1
urakalee Sep 5, 2017
a2ad5de
MOD: bump version to 2.0.4
Sep 5, 2017
4030398
Monitoring of any request in multiple network requests
Dec 26, 2017
370f0a2
删除测试文件
Dec 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## How to contribute

1. Fork it
2. Clone your project
3. Create your feature branch (`git checkout -b my-feature`)
4. Commit your changes (`git commit -am 'Add some feature'`)
5. Push to the branch (`git push origin my-feature`)
6. Create new Pull Request

12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### 提出问题前请先确认完成了下列几项步骤 New Issue Checklist

* [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md)
* [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork)
* [ ] 我已经证实这个问题来源于 YTKNetwork 本身,而不是其所依赖的 [AFNetworking](https://github.com/AFNetworking/AFNetworking) I have confirmed that this issue is caused by YTKNetwork, not [AFNetworking](https://github.com/AFNetworking/AFNetworking)
* [ ] 我已经在项目的 [问题列表](https://github.com/yuantiku/YTKNetwork/issues) 中搜索过并且没有找到类似问题 I have searched for a similar issue in the [project](https://github.com/yuantiku/YTKNetwork/issues) and found none

### 问题描述 Issue Description

请给出所提出问题的详尽描述,包括具体的错误信息,打印的堆栈等等,以及重现此问题的具体步骤。

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
14 changes: 14 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### 提出 Pull Request 前请先确认完成了下列几项步骤 New Pull Request Checklist

* [ ] 我已经阅读过 [贡献指南](CONTRIBUTING.md) I have read and understood the [CONTRIBUTING guide](CONTRIBUTING.md)
* [ ] 我已经阅读过 [程序文档]((http://cocoadocs.org/docsets/YTKNetwork)) I have read the [Documentation](http://cocoadocs.org/docsets/YTKNetwork)
* [ ] 我已经在项目的 [Pull Request 列表](https://github.com/yuantiku/YTKNetwork/pulls) 中搜索过并且没有找到类似的 Pull Request I have searched for a similar pull request in the [project](https://github.com/yuantiku/YTKNetwork/pulls) and found none
* [ ] 我已经添加了必要的测试以证明我的改动是正确的 I have added the required tests to prove the fix/feature I am adding
* [ ] 我已经更新了有关文档(如必要)I have updated the documentation (if necesarry)

### Pull Request 说明 Pull Request Description

这个 Pull Request 解决了如下问题/加入了如下功能:···

This pull request fixes / reffers to the following issues: ...

8 changes: 0 additions & 8 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion Docs/2.0_MigrationGuide_cn.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ YTKNetwork 2.0 中 `baseUrl` 和 `requestUrl` 的拼接实现发生了变化。

```objectivec
NSURL *baseURL = [NSURL URLWithString:@"http://example.com/v1/"];
NSURL *resultURL = [NSURL URLWithString:@"/foo" relativeToURL:baseURL];
NSURL *resultURL = [NSURL URLWithString:@"/foo" relativeToURL:baseURL:];
// resultURL : http://example.com/foo
```

Expand Down
Empty file modified Docs/BasicGuide_cn.md
100644 → 100755
Empty file.
Empty file modified Docs/BasicGuide_en.md
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Docs/ProGuide_cn.md
100644 → 100755
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
4 changes: 3 additions & 1 deletion Docs/README_cn.md
100644 → 100755
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 Expand Up @@ -70,6 +70,7 @@ YTKNetwork 的主要作者是:
* [maojj][maojjGithub]
* [veecci][veecciGithub]
* [tangqiaoboy][tangqiaoboyGithub]
* [skyline75489][skyline75489Github]

## 感谢

Expand All @@ -92,3 +93,4 @@ YTKNetwork 被许可在 MIT 协议下使用。查阅 LICENSE 文件来获得更
[lancyGithub]:https://github.com/lancy
[maojjGithub]:https://github.com/maojj
[veecciGithub]:https://github.com/veecci
[skyline75489Github]:https://github.com/skyline75489
2 changes: 1 addition & 1 deletion Framework/Info.plist
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0</string>
<string>2.0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Empty file modified LICENSE
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion README.md
100644 → 100755
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 Expand Up @@ -76,6 +76,7 @@ YTKNetwork is based on AFNetworking. You can find more detail about version comp
* [maojj][maojjGithub]
* [veecci][veecciGithub]
* [tangqiaoboy][tangqiaoboyGithub]
* [skyline75489][skyline75489Github]

## Acknowledgements

Expand All @@ -101,3 +102,4 @@ YTKNetwork is available under the MIT license. See the LICENSE file for more inf
[lancyGithub]:https://github.com/lancy
[maojjGithub]:https://github.com/maojj
[veecciGithub]:https://github.com/veecci
[skyline75489Github]:https://github.com/skyline75489
2 changes: 1 addition & 1 deletion YTKNetwork.podspec
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "YTKNetwork"
s.version = "2.0.1"
s.version = "2.0.4"
s.summary = "YTKNetwork is a high level request util based on AFNetworking."
s.homepage = "https://github.com/yuantiku/YTKNetwork"
s.license = "MIT"
Expand Down
Loading