Skip to content

Commit

Permalink
Merge pull request #339 from Huang-Libo/patch-1
Browse files Browse the repository at this point in the history
FIX: 2.0_MigrationGuide_cn.md
  • Loading branch information
urakalee authored Sep 5, 2017
2 parents c2effae + b6f58a1 commit b84d86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docs/2.0_MigrationGuide_cn.md
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

0 comments on commit b84d86b

Please sign in to comment.