title: String With Contents Of URL?
body: <p>So before I downloaded the recent update, the following code <strong>worked for me:</strong> </p>
  
  <pre><code>var g_home_url = String.stringWithContentsOfURL(NSURL(string: url_string), encoding: NSUTF8StringEncoding, error: nil) // Gives me an error: "String.Type does not have a member names stringWithContentsOfUrl"
  </code></pre>
  
  <p>I am confused. What is the proper way to acieve the following objective-c method in swift? </p>
  
  <pre><code>NSString * g_home_url = [[NSString alloc] initWithContentsOfURL:[NSURL URLWithString:home_url] encoding:NSUTF8StringEncoding error:nil];
  </code></pre>