title: iOS: Setting NSURLRequest without creating NSURLConnection
body: <p>Is there any way to designate a timeout for a method like:</p>
  
  <pre><code>NSData *data= [NSData dataWithContentsOfURL:someURL];
  if(data)
     //dostuffwithdata
  else
     NSLog(@"ERROR");
  </code></pre>
  
  <p>I know how to create a NSURLConnection and Delegate with a timeout set for the NSURLRequest - but its messy and for the sake of my program it doesn't matter that it will stall on the dataWithContentOfURL line - so I'd rather a simpler solution if its available.</p>