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

Crashing while scrolling through a list of cached images, while offline #15

Closed
diogowbrito opened this issue Dec 4, 2015 · 1 comment

Comments

@diogowbrito
Copy link
Contributor

imageFromURL crashes when scrolling through a list of images while offline.
The images were previously loaded and caches.

I was able to trace the error to an explicit bang here:
if let image = UIImage(data: data!) {

After checking for data the app seemed to work ok.

I already submitted a PR that seems to fix the issue.

@melvitax
Copy link
Owner

melvitax commented Dec 4, 2015

Thanks

@melvitax melvitax closed this as completed Dec 4, 2015
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

2 participants