I'm using NSObject
class to handle a few server methods.
One of the methods is to download images from DB (parse.com).
The problem is that the UIViewController
who present the image is loaded faster than the download process (the image always nil
), and only 2 sec after that the image is in the device.
How can I update the UIImageView
image (userProfile class) from the NSObject
class (the one with the download method)?
- I'm not using navigation bar - but the
UIViewController
with the image is inUITabBar
I know how to detect the end of the downloading process but I don't know how to reach to the UIImageView property from the other class.