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

UIImageView extension #7

Closed
wants to merge 12 commits into from
Closed

Conversation

RamonGilabert
Copy link
Contributor

I guess it needs further testing in terms of the flashing of the images that we had, but here are some tests with Bad Internet connection and with WiFi:

bad internet

app

The flow was this one:

You create a task, you add it to the dictionary, it exists, so you cancel the task, this task completes and then it gives an error, in the closure, done in the background, it removes the value of the task from the dictionary, for some reason that was causing errors since this task was still going on or something, it seems to work, but I'd like further test.

return
}

guard let image = UIImage.decode(data) else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think decompression is on the main thread now 💭

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked that, the thing is that the task resolves in a random thread every time, so we are good.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's a main queue 😱

@vadymmarkov vadymmarkov mentioned this pull request Dec 1, 2015
@zenangst zenangst closed this Dec 1, 2015
@RamonGilabert
Copy link
Contributor Author

Why that? 😄

@RamonGilabert RamonGilabert deleted the feature/uiimageview-extension branch September 28, 2016 12:48
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.

3 participants