For testing and debugging I am trying to put the content of Dictionary to a String. But have no clue hows it going to achieve. Is it possible? If yes, how.
Dictionary is
Jano's answer using Swift 5.1:
let dic = ["key1": "value1", "key2": "value2"] let cookieHeader = dic.map { $0.0 + "=" + $0.1 }.joined(separator: ";") print(cookieHeader) // key2=value2;key1=value1