Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
category that adds method to split query and fragment strings from URLs
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
NSString+JCURLUtilities.h
NSString+JCURLUtilities.m
README.markdown

README.markdown

NSString+JCURLUtilities

This category adds an additional instance method -queryStringDictionary to NSString.

// Example:
NSURL *url = [NSURL URLWithString:@"http://intridea.com/?foo=bar#baz=garply"];
[[url fragment] queryStringDictionary];  # { 'foo' = 'bar'; }
[[url query] queryStringDictionary];  # { 'baz' = 'garply'; }
Something went wrong with that request. Please try again.