title: Error on ARC and semantic Issues in iPhone development
body: <p>When trying to Parse the XML file from remote web server, I can parse the data from XML file successfully. From the XML file i tried to retrieve an image URL and assign it to a <code>UIImageView</code> for a view controller. here am getting the following Error,</p>
  
  <ul>
  <li><p><code>ARC Semantic Issue: No known class method for selector 'imageWithContentsOfUrl:'</code></p></li>
  <li><p><code>Sematic Issue: Incompatible pointer types sending 'NSURL *__strong' to parameter of type 'NSString *'</code></p></li>
  </ul>
  
  <p>Below is my code,</p>
  
  <pre><code>//My View Controller
  [super viewDidLoad];
   NSURL *url = [NSURL URLWithString:@"http://sample.com/Products.xml"];
   EGSParser *parser = [[EGSParser alloc] init];
  // Error in below line( here firstImage is a UIImageView property)
   self.firstImage.image = [UIImage imageWithContentsOfUrl:[NSURL URLWithString:url]]; 
   if ([parser loadXMLByURL:url]) {
      NSLog(@"success; products=%@",parser.products);
   self.xmlProductsResults = parser.products;
  }
  else
  {
   NSLog(@"Log Fail");
  }
  </code></pre>
  
  <p>Kindly Suggest me an idea to solve this.</p>