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

Small bug in EGOImageLoader #26

Open
mblackwell8 opened this issue Jan 5, 2013 · 0 comments
Open

Small bug in EGOImageLoader #26

mblackwell8 opened this issue Jan 5, 2013 · 0 comments

Comments

@mblackwell8
Copy link

the keyForURL method returns the hash of the URL description string, which is probably a bad choice. I found examples of URL descriptions that were different but returned the same hash (and if I remember my comp sci well enough, I think this is typical of most hash code implementations).

Better to key the cached UIImage's with the URL's absoluteString, which is working for me so far.

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

1 participant