I\'m developing an iOS 5.0+ app with latest SDK.
I get a very strange error with this code:
- (NSMutableURLRequest*)setupRequestWithService:(NSString
The error message is pretty clear. NSNull and nil are different things:
The NSNull class defines a singleton object used to represent null values in
collection objects (which don’t allow nil values).
If you want to check if authenticationToken is NSNull try: [authenticationToken isEqual: [NSNull null]]