stackmob/StackMob_iOS — pull request #38 by peterst (2011-12-30 19:14:08+00:00)
Title: Fix for treatment of booleans in GET Requests

Currently the iOS SDK is treating booleans different in GET or POST requests.

Following request:
```
NSMutableDictionary *dictionary = [NSMutableDictionary dictionary];
[dictionary setValue:[NSNumber numberWithBool:YES] forKey:@"bool"];
[dictionary setValue:[NSNumber numberWithInt:1] forKey:@"int"];
[[StackMob stackmob] get:@"get_that" withArguments:dictionary andCallback:^(BOOL success, id result) { [..]
```

Would result in the following queryString for the GET request being generated:
bool=1&int=1

This is however wrong since the server expects bool to be true or false (as a string representation):
bool=true&int=1

Booleans in POST requests are correctly handled as true or false.

This pull request contains a unit test and a fix for that bug.