swift - How can I convert a PFUser into a String? -
how can convert pfuser value type string display on label?
something this:
username = pfuser.getcurrentuser()
a pfuser.currentuser() returns pfobject many different properties. need data out of object , put on string.
for instance, if wanted current user's username..
let username = pfuser.currentuser()?.username
Comments
Post a Comment