Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

AFNetworking 3.x migration #23

Closed
hyunwoo3008 opened this issue Jun 13, 2016 · 2 comments
Closed

AFNetworking 3.x migration #23

hyunwoo3008 opened this issue Jun 13, 2016 · 2 comments

Comments

@hyunwoo3008
Copy link

hyunwoo3008 commented Jun 13, 2016

AFNetworking 3.x migration please

@abbasmousavi
Copy link

abbasmousavi commented Jun 13, 2016

You can use the code in this pull request #22, that has not merged yet.

@hyunwoo3008
Copy link
Author

thanks abbasmousavi !!
but This code has a problem in my project

120lines (request failed and 'AFNetworking', '~> 3.1' is deprecated )

[self POST:@"" parameters:payload success:^(NSURLSessionDataTask * _Nonnull task, id _Nonnull responseObject)

EDIT CODE ( ..
[self POST:[self.endpointURL absoluteString] parameters:payload progress:^(NSProgress * _Nonnull uploadProgress) { } success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject)

thanks have a good day

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants