Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSURL with query string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL with query string



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


References: 
 >NSURL with query string (From: "C Sandeep" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.