On Jun 7, 2011, at 6:17 PM, James Merkel wrote:

> The following works ok:
> 
> NSString * mapquestURLString;
> 
> mapquestURLString = [NSString 
> stringWithString:@"http://mapq.st/?maptype=hybrid&q=39.7452,-104.98916";];

(Just FYI, the -stringWithString call is redundant. You can just assign the 
constant directly to the variable.)

> mapquestURLString = [NSString 
> stringWithString:@"http://mapq.st/?maptype=hybrid&q=39.7452,-104.98916(Test 
> point label)”];

It’s not the parens that are illegal, it’s the spaces. Change them to %20 and 
you should be OK.

—Jens

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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to