Reputation: 145
I have made a small app that uses Parse, I have a signUp viewController, and after signing up I have a usersVC
viewController.
Inside Parse dashboard I added a column named profileName
, I want that after signing up to grab the value that is inside this column to some label.
Here parse dashboard:
I mean I need something like: profileNameLbl.text = PFUser.current().profileName
but of course this wont compile.
Upvotes: 0
Views: 28
Reputation: 2452
On swift 4.2 use:
PFUser.current()?[“profileName”] as? String
Upvotes: 2