Hey all, here's the deal...
I've got a UIImage
that is being loaded in the background via an NSURLConnection
within a subclassed UIImageView
. Until the data finishes downloading, a placeholder image is shown. The UIImage
needs to be used by another, separate UIImageView
, as well.
The problem I'm having is that if I set the second UIImageView
's image
property to that of the subclassed object before the download is complete, the second UIImageView
never displays the downloaded image, since it's image
prop is pointing to the placeholder.
Is there anyway to pass a pointer to a pointer between these two UIImageViews?
I've tried things like this:
imageView2.image = &[imageView1 image];
imageView2.image = *[imageView1 image];
But these don't seem to work. Any ideas?