Skip to content

Instantly share code, notes, and snippets.

@jacks205
Created May 5, 2015 23:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacks205/e86eae28ef2828bbc28d to your computer and use it in GitHub Desktop.
Save jacks205/e86eae28ef2828bbc28d to your computer and use it in GitHub Desktop.
//How to URL Encode string
CFURLCreateStringByAddingPercentEscapes(nil, str, nil, "!*'();:@&=+$,/?%#[]\" ", kCFStringEncodingASCII)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment