Build a url query string in obj-c from a dictionary of params like jquery does
Its a shame NSURL can't do this task for us. So here's my stab at it:
You can then use it like so:
NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys: @"jim", @"username", @"abc123", @"password", nil];
NSString *urlWithQuerystring = [self addQueryStringToUrl:@"https://myapp.com/login" params:params];