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

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

html - Outlook 2010 Anchor (url/address/link) -