Re: NSURL with query string
Re: NSURL with query string
- Subject: Re: NSURL with query string
- From: Jerry Krinock <email@hidden>
- Date: Sat, 12 Apr 2008 12:43:14 -0700
On 2008 Apr, 12, at 12:24, C Sandeep wrote:
However Im not able to find a optimized way to append the query
strings "hl" and "q". Any help is apprecaited. Thanks.
I've done this many times, by simply combining the query into what you
call your baseURL using -[NSString stringWithFormat:]. I suppose it's
not elegant, but once the sausage gets into the TCP pipe, no one cares
how you made it.
As far as being "optimized", don't worry about it. The slowest Mac
can probably easily spit out thousands of these before Google responds
to the first one.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden