How can I convert a dictionary like this :
var myDictionary: Dictionary = ["Data1":"Value1", "Data2":"Value2", "Data3":"Value3"]
Into two arrays like that :
var myArray1 = ["Data1", "Data2", "Data3"]
var myArray2 = ["Value1", "Value2", "Value3"]
I tried to do it with :
myDictionary.values
and :
myDictionary.keys
But didn't worked...
Any help is greatly appreciated