-
Notifications
You must be signed in to change notification settings - Fork 216
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
Adding progress block for download operations #153
base: master
Are you sure you want to change the base?
Conversation
Fix spelling in README
@@ -116,6 +117,24 @@ - (void)performRequestWithSendingProgressHandler:(NXOAuth2ConnectionSendingProgr | |||
self.me = self; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This creates a retain cycle. The caller should be responsible for keeping a reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am just replicating the form of the existing method performRequestWithSendingProgressHandler
. This reference is removed on closures methods such as cancel
or oauthConnection:didFinishWithData:
. Anyway I've just refactored that to make it more clear.
This reverts commit 304fc37.
Hi, I am using this library and I miss some progress block for downloads request so I added it.