I am using three20's URL navigator and I want to create a map as follows:
[map from:[Group class] name:@"show" toURL:@"tt://group/(gid)/(name)"];
The issue here name can be multiple words and so there is spaces in between.
Now I need to URL encode this NSString
and decode it back. How do I do this?
What is the easiest way to URL decode and encode NSString
?