Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Minimal project to document a little bug on the EGOImageView iPhone library.
tree: ecbfa35621

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Classes
EGOBug.xcodeproj
EGOCache
EGOHTTPRequest
EGOImageButton
EGOImageLoader
EGOImageView
.gitignore
EGOBug-Info.plist
EGOBugViewController.xib
EGOBug_Prefix.pch
MainWindow.xib
README
main.m
placeholder@2x.png

README

UPDATE: The bug has been fixed. Check http://github.com/enormego/EGOImageLoading/issues/4 for details.

This is little bug that appears when using EGOHTTPRequest and EGOImageView together.

Explanation:
Download and run the application in the iPhone simulator. You will see a window with two
EGOImageView and two buttons conveniently labeled "buggy" and "not buggy".

Click the "not buggy" button. This will send the setImageURL: method to one of the EGOImageViews.
The result is that that EGOImageView correctly shows the image.

Click the "buggy" button. This will initiate an asynchronous HTTP request to http://www.google.com
using the EGOHTTPRequest class. We set the delegate of this class to "self" so we can be notified
when the request is finished. When this happens, the method requestDidFinish: is called. Inside
this method we send the setImageURL: method to the other EGOImageView. The result is that this
EGOImageView never shows the image as it should.
Something went wrong with that request. Please try again.