• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURL with query string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: Method Explanation
  • Next by Date: Re: NSURLConnection doesn't post
  • Previous by thread: NSURL with query string
  • Next by thread: Re: NSURL with query string
  • Index(es):
    • Date
    • Thread