On Aug 29, 2013, at 11:02 AM, Koen van der Drift <[email protected]> 
wrote:

> I'm having some difficulties constructing a URL from a baseURL and a 
> relativeURL when the relativeURL starts with a question mark:
> 
>    NSURL *baseURL = [NSURL URLWithString: @"http://www.test.com/test/";];
>    NSString *relativeString = @"?query=test";

FYI, If your use of test.com was purely for illustrative purposes, you should 
use example.com instead. The domain example.com was established for that 
purpose; the use of any other domain name for illustrative purposes could be 
problematic (potentially legally so). Sorry for the side-chatter, but best to 
develop good habits than have regrets.

--
Paul Scott
[email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to