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

pass the completion block to cell #14

Open
syrakozz opened this issue Feb 24, 2015 · 3 comments
Open

pass the completion block to cell #14

syrakozz opened this issue Feb 24, 2015 · 3 comments

Comments

@syrakozz
Copy link

@chasseurmic
can you plz show us an example for this
"
Now in your code, whenever you set up a new cell you can get the cell's own progress and completion block and pass them to the download manager. Voilà!"

@nordringrayhide
Copy link

+1

1 similar comment
@AndreyPanov
Copy link

+1

@veila
Copy link

veila commented Aug 22, 2017

You can use this in cellForRow

[[TWRDownloadManager sharedManager] isFileDownloadingForUrl:[NSString stringWithFormat:@"http://%@",wallpaperobject.urlVideo] withProgressBlock:^(CGFloat progress)
{
NSLog("%f", progress);

} completionBlock:^(BOOL completed) {
// do somethings
}];

It's work for me

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

No branches or pull requests

4 participants