URLEncode With Objective C - The OAUTH Way

Coming from a PHP background, we should all be thankful to rawurlencode() from PHP! Here’s an Objective C version with OAUTH v1.0a requirements. - (NSString *)urlencode:(NSString *)text { NSString *temp = @""; for(int i=0, max=[text length]; i

August 16, 2011 · Batista Harahap