I try to save my data to parse.com. I have already pre-made a class in parse.com named 'SomeClass'. This has a column named 'mySpecialColumn' with a datatype of String.
This is the code I try to save data with:
var groupObject = PFObject(className: "SomeClass")
groupObject.addObject("aaa", forKey: "mySpecialColumn")
groupObject.saveEventually()
If I run this I get:
Error: invalid type for key mySpecialColumn, expected string, but got array (Code: 111, Version: 1.6.0)
This is how my core at parse.com look like:
Anyone know why I get this error? I have also tried to to it the lazy way and not pre-make the data class and just create it on the fly, but then it creates all columns as data type Array.