Weird bug with Parse

I create a object parse like

let objectParse = PFObject(className: "Post")

then i set value for each columns

(1) objectParse["title"] = titleOfPost (type String)

(2) objectParse["category"] = categogyOfPost (categogyOfPost is a item that i got in a array [String] )
then (1) is fine
(2) has a bug "unable to read data"
I try a lot of case but it not worked

like:

(3) objectParse["category"] = "new category" (not working)

(4) objectParse["category"] = "new category" as NSString (working)

(5) objectParse["category"] = categogyOfPost as NSString (not working)

Sorry i pressed enter button so they posted it.

Have anyone know how to fix this bug

Thanks a million times for reading and replying

Is it a type : categogyOfPost vs categoryOfPost (r, not g)


Otherwise, parse is a custom framework. Should look at its doc or ask in its own blog.

Weird bug with Parse
 
 
Q