title: iOS - build email URL without parsing
body: <p>I want to build an email URL using some class (NSURL or similar) <strong>BUT</strong> I do not want the overhead of parsing a string. I want to be able to specify the scheme (<code>mailto</code> in this case) and the address (<code>someone@somewhere.com</code> in this case.) </p>
  
  <p>I've tried this code:</p>
  
  <pre><code>NSString *address = @"someone@somewhere.com";
  NSString *scheme = @"mailto";
  
  NSURL *url = [[NSURL alloc] initWithScheme:scheme host:address path:@"/"];
  NSLog(@"test2: %@", [url absoluteString]);
  </code></pre>
  
  <p>but it outputs:</p>
  
  <pre><code>mailto://someone@somewhere.com/
  </code></pre>
  
  <p>which isn't even a valid email URL.</p>
  
  <p>What are my options?</p>
  
  <p>p.s. please don't suggest using NSDataDetector because it is even more expensive than the usual kind of string parsing.</p>