how to know when NSData's initWithContentsOfURL has finished loading
<p>I am loading some text from an xml and a image, that image takes longer to load than the text but i want to show them at the same time.</p>

<p>i am loading the image using</p>

<p>NSData *mydata = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:imgLink]];</p>

<p>How can i set a callback function that let's me know that mydata has the image so i add it and the text to the view?</p>

<p>Thanks</p>
