Skip to content

Conversation

andresbrun
Copy link

Hi, I am using this library and I miss some progress block for downloads request so I added it.

@andresbrun andresbrun changed the title Master Adding progress block for download operations Mar 3, 2015
@@ -116,6 +117,24 @@ - (void)performRequestWithSendingProgressHandler:(NXOAuth2ConnectionSendingProgr
self.me = self;
Copy link
Contributor

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.

Copy link
Author

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.

Andrés Brun Moreno added 2 commits March 10, 2015 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants