I have an NSMutableDictionary with some values in it, and I need to join the keys and values into a string, so
> name = Fred
> password = cakeismyfavoritefood
> email = myemailaddress@is.short
becomes name=Fred&password=cakeismyfavoritefood&email=myemailaddress@is.short
How can I do this? Is there a way to join NSDictionaries
into strings?
Quite same question as Turning a NSDictionary into a string using blocks?
You can easily do that enumerating dictionary keys and objects: