ios - Setting a PFUser.CurrentUser() pointer field -
i working on project using parse, , having hard time changing value. every user, there field called "privatedata", has fields. access it, have no problem doing this:
pfuser.currentuser()!["privatedata"]!["locations"]!
however, when try change "locations, errors. field name invalid, cannot subscript value of type ... or trying change immutable value.
i tried:
pfuser.currentuser()!["privatedata"]!["locations"]! = bla bla bla
i "trying change immutable value"
and when user .valueforkey:
pfuser.currentuser()!["privatedata"]!.valueforkey("locations",blabla)
i error 105, bad field name.
any ideas?
thanks time
charles
Comments
Post a Comment