title: Comparing empty NSURL
body: <p>I need your help. I have an NSURL object I get from this</p>
  
  <pre><code>NSURL *myImageUrls = [[feeds objectAtIndex:indexPath.row] objectForKey: @"url"];
  if(myImageUrls == nil){
      NSLog(@"URL empty %@", myImageUrls);
  }
  else{
      //NSURL *url = imageUrls;
      NSLog(@"Image URL:%@", myImageUrls);
  }
  </code></pre>
  
  <p>The NSLog shows Image URL: meaning the myImageUrls is empty but the if statement never get printed. How do I get it to print if the NSURL object is empty. I have tried myImageUrls == null and [myImageUrls length] =0 but still the if block never get printed.</p>